The OpenD Programming Language

cef_media_sink_t

Represents a sink to which media can be routed. Instances of this object are retrieved via cef_media_observer_t::OnSinks. The functions of this structure may be called on any browser process thread unless otherwise indicated.

Members

Variables

base
cef_base_ref_counted_t base;

Base structure.

get_device_info
void function(cef_media_sink_t* self, cef_media_sink_device_info_callback_t* callback) nothrow get_device_info;

Asynchronously retrieves device info.

get_icon_type
cef_media_sink_icon_type_t function(cef_media_sink_t* self) nothrow get_icon_type;

Returns the icon type for this sink.

get_id
cef_string_userfree_t function(cef_media_sink_t* self) nothrow get_id;

Returns the ID for this sink.

get_name
cef_string_userfree_t function(cef_media_sink_t* self) nothrow get_name;

Returns the name of this sink.

is_cast_sink
int function(cef_media_sink_t* self) nothrow is_cast_sink;

Returns true (1) if this sink accepts content via Cast.

is_compatible_with
int function(cef_media_sink_t* self, cef_media_source_t* source) nothrow is_compatible_with;

Returns true (1) if this sink is compatible with |source|.

is_dial_sink
int function(cef_media_sink_t* self) nothrow is_dial_sink;

Returns true (1) if this sink accepts content via DIAL.

Meta