antimof / UxPlay

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

iPad can not find the server #8

Closed ahmadov closed 4 years ago

ahmadov commented 4 years ago

Hi, Thanks for this great project! The build was done very quickly and without a problem. But unfortunately, I cannot connect via an iPad, problem is that I don't see the server name when I open screen mirroring from quick actions. This is what I got from the application execution:

$ GST_DEBUG=3 ./uxplay -n myserver
0:00:00.090240496 77304 0x555fb1d5e640 FIXME                default gstutils.c:3980:gst_pad_create_stream_id_internal:<video_source:src> Creating random stream-id, consider implementing a deterministic way of creating a stream-id
0:00:00.100473346 77304 0x555fb1d5e860 FIXME                default gstutils.c:3980:gst_pad_create_stream_id_internal:<audio_source:src> Creating random stream-id, consider implementing a deterministic way of creating a stream-id
Initialized server socket(s)
*** WARNING *** The program 'uxplay' uses the Apple Bonjour compatibility layer of Avahi.
*** WARNING *** Please fix your application to use the native API of Avahi!
*** WARNING *** For more information see <http://0pointer.de/blog/projects/avahi-compat.html>

What could be the issue? I'm using ArchLinux.

ahmadov commented 4 years ago

I found the problem, avahi-daemon was not running. Arch users make sure avahi-daemon is running before running UxPlay.