FD- / RPiPlay

An open-source AirPlay mirroring server for the Raspberry Pi. Supports iOS 9 and up.
GNU General Public License v3.0
4.93k stars 353 forks source link

Avahi issues #179

Closed mat1987fer closed 3 years ago

mat1987fer commented 3 years ago

Initialized server socket(s) WARNING The program 'rpiplay' 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

Any ideas?

plm commented 3 years ago

I looked into getting rid of this message and found it comes from avahi_warn_linkage in avahi-compat-libdns_sd/warn.c. I believe RPiPlay links against libdns_sd to avoid needing separate dependencies and code paths for Linux and macOS builds.

I was able to disable this message by setting the AVAHI_COMPAT_NOWARN environment variable when starting rpiplay.

AVAHI_COMPAT_NOWARN=y ./rpiplay

Alternately, you can export the variable before starting RPiPlay.

export AVAHI_COMPAT_NOWARN=y
./rpiplay
pallas commented 3 years ago

Yes, this is a duplicate of #51 and is a non-issue.

mat1987fer commented 3 years ago

Thanks!