Airplay in android device


Staff member
I want to build an android application in which the android device work as airplay server (receiver) and iOS device as a client(sender). I have followed <a href="" rel="nofollow">this</a> link . But here you have to first register to the port to appear as a airplay option on iOS device from the command line using :

mDNS -R MyAirplayService _airplay._tcp local 22555

When i run this java code I can see airplay icon on my iOS device . But how it can be don in android device ? Is there any open source code or library to do this ?