vlc.Renderer

class vlc.Renderer

Bases: _Ctype

(INTERNAL) Base class for ctypes.

(INTERNAL) ctypes wrapper constructor.

flags()

Get the flags of a renderer item

See LIBVLC_RENDERER_CAN_AUDIO See LIBVLC_RENDERER_CAN_VIDEO

Returns:

bitwise flag: capabilities of the renderer, see.

Version:

LibVLC 3.0.0 or later.

hold()

Hold a renderer item, i.e. creates a new reference

This functions need to called from the libvlc_RendererDiscovererItemAdded callback if the libvlc user wants to use this item after. (for display or for passing it to the mediaplayer for example).

Returns:

the current item.

Version:

LibVLC 3.0.0 or later.

icon_uri()

Get the icon uri of a renderer item

Returns:

the uri of the item’s icon (can be None, must not be freed).

Version:

LibVLC 3.0.0 or later.

name()

Get the human readable name of a renderer item

Returns:

the name of the item (can’t be None, must not be freed).

Version:

LibVLC 3.0.0 or later.

release()

Releases a renderer item, i.e. decrements its reference counter

Version:

LibVLC 3.0.0 or later.

type()

Get the type (not translated) of a renderer item. For now, the type can only be “chromecast” (“upnp”, “airplay” may come later).

Returns:

the type of the item (can’t be None, must not be freed).

Version:

LibVLC 3.0.0 or later.