|
typedef struct
libvlc_media_discoverer_t | libvlc_media_discoverer_t |
|
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_API libvlc_event_manager_t* libvlc_media_discoverer_event_manager |
( |
libvlc_media_discoverer_t * |
p_mdis | ) |
|
Get event manager from media service discover object.
- Parameters
-
p_mdis | media service discover object |
- Returns
- event manager object.
LIBVLC_API int libvlc_media_discoverer_is_running |
( |
libvlc_media_discoverer_t * |
p_mdis | ) |
|
Query if media service discover object is running.
- Parameters
-
p_mdis | media service discover object |
- Returns
- true if running, false if not
LIBVLC_API char* libvlc_media_discoverer_localized_name |
( |
libvlc_media_discoverer_t * |
p_mdis | ) |
|
Get media service discover object its localized name.
- Parameters
-
p_mdis | media discover object |
- Returns
- localized name
LIBVLC_API libvlc_media_list_t* libvlc_media_discoverer_media_list |
( |
libvlc_media_discoverer_t * |
p_mdis | ) |
|
Get media service discover media list.
- Parameters
-
p_mdis | media service discover object |
- Returns
- list of media items
LIBVLC_API libvlc_media_discoverer_t* libvlc_media_discoverer_new_from_name |
( |
libvlc_instance_t * |
p_inst, |
|
|
const char * |
psz_name |
|
) |
| |
Discover media service by name.
- Parameters
-
p_inst | libvlc instance |
psz_name | service name |
- Returns
- media discover object or NULL in case of error
LIBVLC_API void libvlc_media_discoverer_release |
( |
libvlc_media_discoverer_t * |
p_mdis | ) |
|
Release media discover object. If the reference count reaches 0, then the object will be released.
- Parameters
-
p_mdis | media service discover object |