Chromium Embedded Framework (CEF)
126.2.0+g5c56e98+chromium-126.0.6478.62
|
Implemented by the client to observe MediaRouter events and registered via CefMediaRouter::AddObserver. More...
#include "include/cef_media_router.h"
Public Types | |
typedef cef_media_route_connection_state_t | ConnectionState |
Public Member Functions | |
virtual void | OnSinks (const std::vector< CefRefPtr< CefMediaSink >> &sinks)=0 |
The list of available media sinks has changed or CefMediaRouter::NotifyCurrentSinks was called. More... | |
virtual void | OnRoutes (const std::vector< CefRefPtr< CefMediaRoute >> &routes)=0 |
The list of available media routes has changed or CefMediaRouter::NotifyCurrentRoutes was called. More... | |
virtual void | OnRouteStateChanged (CefRefPtr< CefMediaRoute > route, ConnectionState state)=0 |
The connection state of |route| has changed. More... | |
virtual void | OnRouteMessageReceived (CefRefPtr< CefMediaRoute > route, const void *message, size_t message_size)=0 |
A message was received over |route|. More... | |
Public Member Functions inherited from CefBaseRefCounted | |
virtual void | AddRef () const =0 |
Called to increment the reference count for the object. More... | |
virtual bool | Release () const =0 |
Called to decrement the reference count for the object. More... | |
virtual bool | HasOneRef () const =0 |
Returns true if the reference count is 1. More... | |
virtual bool | HasAtLeastOneRef () const =0 |
Returns true if the reference count is at least 1. More... | |
Additional Inherited Members | |
Protected Member Functions inherited from CefBaseRefCounted | |
virtual | ~CefBaseRefCounted () |
Implemented by the client to observe MediaRouter events and registered via CefMediaRouter::AddObserver.
The methods of this class will be called on the browser process UI thread.
|
pure virtual |
A message was received over |route|.
|message| is only valid for the scope of this callback and should be copied if necessary.
|
pure virtual |
The list of available media routes has changed or CefMediaRouter::NotifyCurrentRoutes was called.
|
pure virtual |
The connection state of |route| has changed.
|
pure virtual |
The list of available media sinks has changed or CefMediaRouter::NotifyCurrentSinks was called.