Multicast is disabled in our ethernet, so I registered proxy services (_airplay._tcp
& _raop._tcp
) pointed to Apple TV's IP with DNSServiceRegister
in my app, register and detect the service on the same phone. It works fine in iOS 10, but my service can't be detected in Control Center in iOS 11.
When Apple changed around everything in iOS 11 (meaning AirPlay 2), they made it a tad more difficult for a device to Airplay to itself. You must use a much lower level API for this to work, by that I mean C instead of Objective-C.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With