masmu / pulseaudio-dlna

A lightweight streaming server which brings DLNA / UPNP and Chromecast support to PulseAudio and Linux
GNU General Public License v3.0
1.25k stars 161 forks source link

pulseaudio-dlna interferes with avahi daemon #371

Open Wasnix opened 5 years ago

Wasnix commented 5 years ago

If avahi daemon is started then pulseaudio-dlna doesn't work. It comes an error message "address already in use" because there can be only one zeroconf service on a system. Disabling avahi daemon helps but isn't a good idea.

pulseaudio-dlna should give either a more precise error message about the conflict with avahi service or (much better) use running avahi daemon instead of starting your own zeroconf routine and keep built-in zeroconf as a fallback for non-avahi systems.

Pluseaudio has its own native zeroconf module which you can use: pulseaudio-zeroconf-publish. This module is an avahi client for server.

pulseaudio-zeroconf-publish

zynexiz commented 5 years ago

Are you sure it's avahi-daemon service that interferes? I have it enabled and running here together with pulseaudio-dlna without any issue.