FDH2 / UxPlay

AirPlay Unix mirroring server
GNU General Public License v3.0
1.5k stars 76 forks source link

iPhone doesn't see airplay #334

Closed NotIdrizdi closed 2 weeks ago

NotIdrizdi commented 2 weeks ago

Does anyone have an idea why my iPhone does not see the possibility of airplay on Raspberry Pi 5, from what I noticed, my Windows PC can connect to the Pi via SSH, but iPhone and Macbook are not able to do this.

fduncanh commented 2 weeks ago

Does anyone have an idea why my iPhone does not see the possibility of airplay on Raspberry Pi 5, from what I noticed, my Windows PC can connect to the Pi via SSH, but iPhone and Macbook are not able to do this.

the answers will probably be found in https://github.com/FDH2/UxPlay#uxplay-169--airplay-mirror-and-airplay-audio-server-for-linux-macos-and-unix-now-also-runs-on-windows

The UxPlay server and its client must be on the same local area network, on which a Bonjour/Zeroconf mDNS/DNS-SD server is also running (only DNS-SD "Service Discovery" service is strictly necessary, it is not necessary that the local network also be of the ".local" mDNS-based type). On Linux and BSD Unix servers, this is usually provided by Avahi, through the avahi-daemon service, and is included in most Linux distributions (this service can also be provided by macOS, iOS or Windows servers).

NotIdrizdi commented 2 weeks ago

I understand that this connection does not go through SSH, I wanted to provide more information that somehow my Mac does not even see the Raspberry on the network and this may be the reason why I cannot share the screen via UxPlay. As you can see on SS, both systems are on the same network, although the iPhone and Macbook are not able to see my Raspberry Pi 5 photo_2024-08-30_09-02-12 photo_2024-08-30_09-04-30

fduncanh commented 2 weeks ago

Form the README document: here is a useful tool for investigating DNSSD network problems:

If UxPlay stalls without an error message and without the server name showing on the client, this is a network problem (if your UxPlay version is older than 1.60, it is also the behavior when no DNS-SD server is found.)

A useful tool for examining such network problems from the client end is the (free) Discovery DNS-SD browser available in the Apple App Store for both iOS (works on iPadOS too) and macOS.