VLC 4.0.0-dev
Loading...
Searching...
No Matches
libvlc_media_discoverer.h File Reference

LibVLC media discovery external API. More...

Go to the source code of this file.

Data Structures

struct  libvlc_media_discoverer_description_t
 Media discoverer description. More...
 

Typedefs

typedef struct libvlc_media_list_t libvlc_media_list_t
 
typedef enum libvlc_media_discoverer_category_t libvlc_media_discoverer_category_t
 Category of a media discoverer.
 
typedef struct libvlc_media_discoverer_description_t libvlc_media_discoverer_description_t
 Media discoverer description.
 
typedef struct libvlc_media_discoverer_t libvlc_media_discoverer_t
 

Enumerations

enum  libvlc_media_discoverer_category_t { libvlc_media_discoverer_devices , libvlc_media_discoverer_lan , libvlc_media_discoverer_podcasts , libvlc_media_discoverer_localdirs }
 Category of a media discoverer. More...
 

Functions

LIBVLC_API libvlc_media_discoverer_tlibvlc_media_discoverer_new (libvlc_instance_t *p_inst, const char *psz_name)
 Create a media discoverer object by name.
 
LIBVLC_API int libvlc_media_discoverer_start (libvlc_media_discoverer_t *p_mdis)
 Start media discovery.
 
LIBVLC_API void libvlc_media_discoverer_stop (libvlc_media_discoverer_t *p_mdis)
 Stop media discovery.
 
LIBVLC_API void libvlc_media_discoverer_release (libvlc_media_discoverer_t *p_mdis)
 Release media discover object.
 
LIBVLC_API libvlc_media_list_tlibvlc_media_discoverer_media_list (libvlc_media_discoverer_t *p_mdis)
 Get media service discover media list.
 
LIBVLC_API bool libvlc_media_discoverer_is_running (libvlc_media_discoverer_t *p_mdis)
 Query if media service discover object is running.
 
LIBVLC_API size_t libvlc_media_discoverer_list_get (libvlc_instance_t *p_inst, libvlc_media_discoverer_category_t i_cat, libvlc_media_discoverer_description_t ***ppp_services)
 Get media discoverer services by category.
 
LIBVLC_API void libvlc_media_discoverer_list_release (libvlc_media_discoverer_description_t **pp_services, size_t i_count)
 Release an array of media discoverer services.
 

Detailed Description

LibVLC media discovery external API.

Typedef Documentation

◆ libvlc_media_discoverer_category_t

◆ libvlc_media_discoverer_description_t

◆ libvlc_media_list_t

Enumeration Type Documentation

◆ libvlc_media_discoverer_category_t

Category of a media discoverer.

See also
libvlc_media_discoverer_list_get()
Enumerator
libvlc_media_discoverer_devices 

devices, like portable music player

libvlc_media_discoverer_lan 

LAN/WAN services, like Upnp, SMB, or SAP.

libvlc_media_discoverer_podcasts 

Podcasts.

libvlc_media_discoverer_localdirs 

Local directories, like Video, Music or Pictures directories.