The OpenD Programming Language

cef_media_observer_t

Implemented by the client to observe MediaRouter events and registered via

More...

Members

Variables

base
cef_base_ref_counted_t base;

Base structure.

on_route_message_received
void function(cef_media_observer_t* self, cef_media_route_t* route, const(void)* message, size_t message_size) nothrow on_route_message_received;

A message was received over |route|. |message| is only valid for the scope of this callback and should be copied if necessary.

on_route_state_changed
void function(cef_media_observer_t* self, cef_media_route_t* route, cef_media_route_connection_state_t state) nothrow on_route_state_changed;

The connection state of |route| has changed.

on_routes
void function(cef_media_observer_t* self, size_t routesCount, cef_media_route_t** routes) nothrow on_routes;

The list of available media routes has changed or

on_sinks
void function(cef_media_observer_t* self, size_t sinksCount, cef_media_sink_t** sinks) nothrow on_sinks;

The list of available media sinks has changed or

Detailed Description

cef media router t

:AddObserver. The functions of this structure will be called on the browser process UI thread.

Meta