Chromium Embedded Framework (CEF)
116.0.6+gc182ee2+chromium-116.0.5845.10
|
Represents the route between a media source and sink. More...
#include "include/cef_media_router.h"
Public Member Functions | |
virtual CefString | GetId ()=0 |
Returns the ID for this route. More... | |
virtual CefRefPtr< CefMediaSource > | GetSource ()=0 |
Returns the source associated with this route. More... | |
virtual CefRefPtr< CefMediaSink > | GetSink ()=0 |
Returns the sink associated with this route. More... | |
virtual void | SendRouteMessage (const void *message, size_t message_size)=0 |
Send a message over this route. More... | |
virtual void | Terminate ()=0 |
Terminate this 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 () |
Represents the route between a media source and sink.
Instances of this object are created via CefMediaRouter::CreateRoute and retrieved via CefMediaObserver::OnRoutes. Contains the status and metadata of a routing operation. The methods of this class may be called on any browser process thread unless otherwise indicated.
|
pure virtual |
Returns the ID for this route.
|
pure virtual |
Returns the sink associated with this route.
|
pure virtual |
Returns the source associated with this route.
|
pure virtual |
Send a message over this route.
|message| will be copied if necessary.
|
pure virtual |
Terminate this route.
Will result in an asynchronous call to CefMediaObserver::OnRoutes on all registered observers.