Represents the route between a media source and sink.
More...
#include "include/cef_media_router.h"
|
| virtual CefString | GetId ()=0 |
| | Returns the ID for this route.
|
| |
| virtual CefRefPtr< CefMediaSource > | GetSource ()=0 |
| | Returns the source associated with this route.
|
| |
| virtual CefRefPtr< CefMediaSink > | GetSink ()=0 |
| | Returns the sink associated with this route.
|
| |
| virtual void | SendRouteMessage (const void *message, size_t message_size)=0 |
| | Send a message over this route.
|
| |
| virtual void | Terminate ()=0 |
| | Terminate this route.
|
| |
| virtual void | AddRef () const =0 |
| | Called to increment the reference count for the object.
|
| |
| virtual bool | Release () const =0 |
| | Called to decrement the reference count for the object.
|
| |
| virtual bool | HasOneRef () const =0 |
| | Returns true if the reference count is 1.
|
| |
| virtual bool | HasAtLeastOneRef () const =0 |
| | Returns true if the reference count is at least 1.
|
| |
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.
◆ GetId()
Returns the ID for this route.
◆ GetSink()
Returns the sink associated with this route.
◆ GetSource()
Returns the source associated with this route.
◆ SendRouteMessage()
| virtual void CefMediaRoute::SendRouteMessage |
( |
const void * |
message, |
|
|
size_t |
message_size |
|
) |
| |
|
pure virtual |
Send a message over this route.
|message| will be copied if necessary.
◆ Terminate()
| virtual void CefMediaRoute::Terminate |
( |
| ) |
|
|
pure virtual |
The documentation for this class was generated from the following file: