mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-12-15 08:56:34 -05:00
osx: add native zeroconf implementation via Bonjour
Avahi and dbus is too heavy for OSX just for the sake of publishing our services via mDNS/Zeroconf. Apple has its own Zeroconf implementation called Bonjour, and this patch adds a module that implements service announcement with that API. All data gathering is copied from module-zeroconf-publish.c, but unfortunately the code there is too specifically made for avahi, so I couldn't factor it out to reuse it.
This commit is contained in:
parent
7732421a27
commit
0ccc7afcd8
3 changed files with 533 additions and 0 deletions
|
|
@ -423,8 +423,12 @@ if test "x$os_is_darwin" = "x1" ; then
|
|||
|
||||
AC_MSG_RESULT([ok])
|
||||
AC_DEFINE([HAVE_CLOCK_GETTIME], 1, [Using clock_gettime() replacement])
|
||||
HAVE_BONJOUR=1
|
||||
fi
|
||||
|
||||
AC_SUBST(HAVE_BONJOUR)
|
||||
AM_CONDITIONAL([HAVE_BONJOUR], [test "x$HAVE_BONJOUR" = x1])
|
||||
|
||||
#### Check for functions ####
|
||||
|
||||
# ISO
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue