LibVLC media discovery finds available media via various means.
More...
LibVLC media discovery finds available media via various means.
This corresponds to the service discovery functionality in VLC media player. Different plugins find potential medias locally (e.g. user media directory), from peripherals (e.g. video capture device), on the local network (e.g. SAP) or on the Internet (e.g. Internet radios).
◆ libvlc_media_discoverer_t
◆ libvlc_media_discoverer_is_running()
Query if media service discover object is running.
- Parameters
-
p_mdis | media service discover object |
- Return values
-
true | running |
false | not running |
◆ libvlc_media_discoverer_list_get()
Get media discoverer services by category.
- Version
- LibVLC 3.0.0 and later.
- Parameters
-
p_inst | libvlc instance |
i_cat | category of services to fetch |
ppp_services | address to store an allocated array of media discoverer services (must be freed with libvlc_media_discoverer_list_release() by the caller) [OUT] |
- Returns
- the number of media discoverer services (0 on error)
◆ libvlc_media_discoverer_list_release()
Release an array of media discoverer services.
- Version
- LibVLC 3.0.0 and later.
- See also
- libvlc_media_discoverer_list_get()
- Parameters
-
pp_services | array to release |
i_count | number of elements in the array |
◆ libvlc_media_discoverer_media_list()
Get media service discover media list.
- Parameters
-
p_mdis | media service discover object |
- Returns
- list of media items
◆ libvlc_media_discoverer_new()
◆ libvlc_media_discoverer_release()
Release media discover object.
If the reference count reaches 0, then the object will be released.
- Parameters
-
p_mdis | media service discover object |
◆ libvlc_media_discoverer_start()
◆ libvlc_media_discoverer_stop()