[pulseaudio-discuss] [PATCH] osx: add native zeroconf implementation via Bonjour

Daniel Mack daniel at caiaq.de
Wed Dec 9 23:21:57 PST 2009


On Thu, Dec 10, 2009 at 03:18:13PM +0800, Daniel Mack wrote:
> 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.
> ---
>  configure.ac                         |    4 +
>  src/Makefile.am                      |   13 +
>  src/modules/module-bonjour-publish.c |  516 ++++++++++++++++++++++++++++++++++
>  3 files changed, 533 insertions(+), 0 deletions(-)
>  create mode 100644 src/modules/module-bonjour-publish.c

This patch is also available at

  git://github.com/zonque/pulseaudio.git topic/bonjour

but note that this applies on top of the coreaudio patches I sent
around.

Daniel



More information about the pulseaudio-discuss mailing list