Chromium Embedded Framework (CEF)  126.2.0+g5c56e98+chromium-126.0.6478.62
CefMediaSource Class Referenceabstract

Represents a source from which media can be routed. More...

#include "include/cef_media_router.h"

Inheritance diagram for CefMediaSource:
CefBaseRefCounted

Public Member Functions

virtual CefString GetId ()=0
 Returns the ID (media source URN or URL) for this source. More...
 
virtual bool IsCastSource ()=0
 Returns true if this source outputs its content via Cast. More...
 
virtual bool IsDialSource ()=0
 Returns true if this source outputs its content via DIAL. 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 ()
 

Detailed Description

Represents a source from which media can be routed.

Instances of this object are retrieved via CefMediaRouter::GetSource. The methods of this class may be called on any browser process thread unless otherwise indicated.

Member Function Documentation

◆ GetId()

virtual CefString CefMediaSource::GetId ( )
pure virtual

Returns the ID (media source URN or URL) for this source.

◆ IsCastSource()

virtual bool CefMediaSource::IsCastSource ( )
pure virtual

Returns true if this source outputs its content via Cast.

◆ IsDialSource()

virtual bool CefMediaSource::IsDialSource ( )
pure virtual

Returns true if this source outputs its content via DIAL.


The documentation for this class was generated from the following file: