Overview   Project   Class   Tree   Index 
CEF3 C++ API Docs - Version 80.1.4+g8927396+chromium-80.0.3987.149
FRAMES    NO FRAMES
SUMMARY:  INNER | FIELD | CONSTR | METHOD

(default)
Class CefMediaRoute

CefBaseRefCounted
   |
   +--CefMediaRoute

   in cef_media_router.h

class CefMediaRoute
extends 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.


Method Summary
 virtual CefString GetId()= 0
          Returns the ID for this route.
 virtual CefRefPtr< CefMediaSink > GetSink()= 0
          Returns the sink associated with this route.
 virtual CefRefPtr< CefMediaSource > GetSource()= 0
          Returns the source 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.
   
Methods inherited from class CefBaseRefCounted
AddRef, Release, HasOneRef, HasAtLeastOneRef
 

Method Detail

GetId

public virtual CefString GetId()= 0;
Returns the ID for this route.

GetSink

public virtual CefRefPtr< CefMediaSink > GetSink()= 0;
Returns the sink associated with this route.

GetSource

public virtual CefRefPtr< CefMediaSource > GetSource()= 0;
Returns the source associated with this route.

SendRouteMessage

public virtual void SendRouteMessage( const void* message, size_t message_size )= 0;
Send a message over this route. |message| will be copied if necessary.

Terminate

public virtual void Terminate()= 0;
Terminate this route. Will result in an asynchronous call to CefMediaObserver::OnRoutes on all registered observers.

 Overview   Project   Class   Tree   Index 
CEF3 C++ API Docs - Version 80.1.4+g8927396+chromium-80.0.3987.149
FRAMES    NO FRAMES
SUMMARY:  INNER | FIELD | CONSTR | METHOD

Chromium Embedded Framework (CEF) Copyright © 2016 Marshall A. Greenblatt