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 CefMediaObserver

CefBaseRefCounted
   |
   +--CefMediaObserver

   in cef_media_router.h

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


Inner Classes, Typedefs, and Enums
typedef CefMediaObserver::ConnectionState
          
 
Method Summary
 virtual void OnRouteMessageReceived( CefRefPtr< CefMediaRoute > route, const void* message, size_t message_size )= 0
          A message was recieved over |route|.
 virtual void OnRoutes( const std::vector< CefRefPtr< CefMediaRoute > >& routes )= 0
          The list of available media routes has changed or CefMediaRouter::NotifyCurrentRoutes was called.
 virtual void OnRouteStateChanged( CefRefPtr< CefMediaRoute > route, CefMediaObserver::ConnectionState state )= 0
          The connection state of |route| has changed.
 virtual void OnSinks( const std::vector< CefRefPtr< CefMediaSink > >& sinks )= 0
          The list of available media sinks has changed or CefMediaRouter::NotifyCurrentSinks was called.
   
Methods inherited from class CefBaseRefCounted
AddRef, Release, HasOneRef, HasAtLeastOneRef
 

Method Detail

OnRouteMessageReceived

public virtual void OnRouteMessageReceived( CefRefPtr< CefMediaRoute > route, const void* message, size_t message_size )= 0;
A message was recieved over |route|. |message| is only valid for the scope of this callback and should be copied if necessary.

OnRoutes

public virtual void OnRoutes( const std::vector< CefRefPtr< CefMediaRoute > >& routes )= 0;
The list of available media routes has changed or CefMediaRouter::NotifyCurrentRoutes was called.

OnRouteStateChanged

public virtual void OnRouteStateChanged( CefRefPtr< CefMediaRoute > route, CefMediaObserver::ConnectionState state )= 0;
The connection state of |route| has changed.

OnSinks

public virtual void OnSinks( const std::vector< CefRefPtr< CefMediaSink > >& sinks )= 0;
The list of available media sinks has changed or CefMediaRouter::NotifyCurrentSinks was called.

 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