Documentation:Modules/bonjour

From VideoLAN Wiki
Jump to navigation Jump to search
Note Past versions of VLC may refer to a different module as bonjour:
with VLC 3.0.0 the old bonjour.c module(section link) was renamed to avahi.c and bonjour.m was created.

None of these modules have options.

Services discovery

Module: bonjour.m
Type Services discovery
First VLC version 3.0.0
Last VLC version -
Operating system(s) macOS, tvOS, iOS
Description Bonjour Network Discovery
Shortcut(s) mdns, bonjour

Renderer discovery

Module: bonjour.m
Type Renderer discovery
First VLC version 3.0.0
Last VLC version -
Operating system(s) macOS, tvOS, iOS
Description Bonjour Renderer Discovery
Shortcut(s) mdns_renderer, bonjour_renderer

The introduction of this probe contains a note:

Add a bonjour renderer submodule to the bonjour service discovery
module, so it can discover chromecast renderers (for now) and others
in the future.
There is still some work needed to make it detect chromecast
capabilities correctly and to not hardcode it to chromecast.
(See the TODO comment)

The TODO comment in the same commit:

// TODO: Detect rendered capabilities and adapt to work with not just chromecast

Services discovery (avahi)

Module: avahi.c
Type Services discovery
First VLC version 0.8.4
Last VLC version -
Operating system(s) Linux
Description Zeroconf services
Shortcut(s) mdns, avahi

Renderer discovery (avahi)

Module: avahi_renderer.c
Type Renderer discovery
First VLC version 1.0.4
Last VLC version -
Operating system(s) Linux
Description Avahi Zeroconf renderer Discovery
Shortcut(s) mdns_renderer, avahi_renderer

The introduction of this probe was not announced; it was experimental. A stable version is upcoming (currently scheduled for 4.0.0-dev).

Source code

bonjour.m:

bonjour.c/avahi.c:

This page is part of official VLC media player Documentation (User GuideStreaming HowToHacker GuideModules)
Please read the Documentation Editing Guidelines before you edit the documentation
Permission is granted to copy, distribute and/or modify this document under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.