Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How can I start multiple airplay server? #3

Open
oddugi5 opened this issue Sep 11, 2020 · 2 comments
Open

How can I start multiple airplay server? #3

oddugi5 opened this issue Sep 11, 2020 · 2 comments

Comments

@oddugi5
Copy link

oddugi5 commented Sep 11, 2020

Hello!
Firstly, I really impressed your project and thank you :)
So I want to use it for mirroring some device concurrently.

I tried as below for starting multiple airplay server.
(I use kotlin)

AirplayServer("servername", 5003, 5004, MirrorDataConsummerImplement).start()
AirplayServer("servername2", 5103, 5104, MirrorDataConsummerImplement).start()
AirplayServer("servername3", 5203, 5204, MirrorDataConsummerImplement).start()

But I can see only one server among them on my iPhone or iPad.

Is it related with value of airPlayMDNSProps in AirPlayBonjour.java like deviceid, pk, pi?
How can I start multiple airplay server?

@TrungTVT
Copy link

You need to change the mac address in the function airPlayMDNSProps() and airTunesServerName for each different AirplayServer.

@oddugi5
Copy link
Author

oddugi5 commented Sep 14, 2020

@TrungTVT
Thank you for your reply!
I can see multiple airplay server now.
Thank you again :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants