webkit  2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
Public Types | Public Member Functions | Protected Member Functions | List of all members
webrtc::VideoTrackInterface Class Referenceabstract

#include <mediastreaminterface.h>

Inheritance diagram for webrtc::VideoTrackInterface:
webrtc::MediaStreamTrackInterface rtc::VideoSourceInterface< VideoFrame > webrtc::MediaStreamTrackInterface rtc::VideoSourceInterface< VideoFrame > webrtc::NotifierInterface rtc::RefCountInterface webrtc::NotifierInterface rtc::RefCountInterface webrtc::NotifierInterface rtc::RefCountInterface webrtc::NotifierInterface rtc::RefCountInterface webrtc::Notifier< VideoTrackInterface > webrtc::Notifier< VideoTrackInterface > webrtc::MediaStreamTrack< VideoTrackInterface > webrtc::MediaStreamTrack< VideoTrackInterface > webrtc::MediaStreamTrack< VideoTrackInterface > webrtc::MediaStreamTrack< VideoTrackInterface > webrtc::VideoTrack webrtc::VideoTrack webrtc::VideoTrack webrtc::VideoTrack webrtc::VideoTrack webrtc::VideoTrack webrtc::VideoTrack webrtc::VideoTrack

Public Types

enum  ContentHint {
  ContentHint::kNone, ContentHint::kFluid, ContentHint::kDetailed, ContentHint::kNone,
  ContentHint::kFluid, ContentHint::kDetailed
}
 
enum  ContentHint {
  ContentHint::kNone, ContentHint::kFluid, ContentHint::kDetailed, ContentHint::kNone,
  ContentHint::kFluid, ContentHint::kDetailed
}
 
- Public Types inherited from webrtc::MediaStreamTrackInterface
enum  TrackState { kLive, kEnded, kLive, kEnded }
 
enum  TrackState { kLive, kEnded, kLive, kEnded }
 

Public Member Functions

void AddOrUpdateSink (rtc::VideoSinkInterface< VideoFrame > *, const rtc::VideoSinkWants &) override
 
void RemoveSink (rtc::VideoSinkInterface< VideoFrame > *) override
 
virtual VideoTrackSourceInterfaceGetSource () const =0
 
virtual ContentHint content_hint () const
 
virtual void set_content_hint (ContentHint)
 
void AddOrUpdateSink (rtc::VideoSinkInterface< VideoFrame > *, const rtc::VideoSinkWants &) override
 
void RemoveSink (rtc::VideoSinkInterface< VideoFrame > *) override
 
virtual VideoTrackSourceInterfaceGetSource () const =0
 
virtual ContentHint content_hint () const
 
virtual void set_content_hint (ContentHint)
 
- Public Member Functions inherited from webrtc::MediaStreamTrackInterface
virtual std::string kind () const =0
 
virtual std::string id () const =0
 
virtual bool enabled () const =0
 
virtual bool set_enabled (bool enable)=0
 
virtual TrackState state () const =0
 
virtual std::string kind () const =0
 
virtual std::string id () const =0
 
virtual bool enabled () const =0
 
virtual bool set_enabled (bool enable)=0
 
virtual TrackState state () const =0
 
- Public Member Functions inherited from rtc::RefCountInterface
virtual int AddRef () const =0
 
virtual int Release () const =0
 
virtual int AddRef () const =0
 
virtual int Release () const =0
 
- Public Member Functions inherited from webrtc::NotifierInterface
virtual void RegisterObserver (ObserverInterface *observer)=0
 
virtual void UnregisterObserver (ObserverInterface *observer)=0
 
virtual ~NotifierInterface ()
 
virtual void RegisterObserver (ObserverInterface *observer)=0
 
virtual void UnregisterObserver (ObserverInterface *observer)=0
 
virtual ~NotifierInterface ()
 
- Public Member Functions inherited from rtc::VideoSourceInterface< VideoFrame >
virtual void AddOrUpdateSink (VideoSinkInterface< VideoFrame > *sink, const VideoSinkWants &wants)=0
 
virtual void AddOrUpdateSink (VideoSinkInterface< VideoFrame > *sink, const VideoSinkWants &wants)=0
 
virtual void RemoveSink (VideoSinkInterface< VideoFrame > *sink)=0
 
virtual void RemoveSink (VideoSinkInterface< VideoFrame > *sink)=0
 

Protected Member Functions

virtual ~VideoTrackInterface ()
 
virtual ~VideoTrackInterface ()
 
- Protected Member Functions inherited from webrtc::MediaStreamTrackInterface
virtual ~MediaStreamTrackInterface ()
 
virtual ~MediaStreamTrackInterface ()
 
- Protected Member Functions inherited from rtc::RefCountInterface
virtual ~RefCountInterface ()
 
virtual ~RefCountInterface ()
 
- Protected Member Functions inherited from rtc::VideoSourceInterface< VideoFrame >
virtual ~VideoSourceInterface ()
 
virtual ~VideoSourceInterface ()
 

Additional Inherited Members

- Static Public Attributes inherited from webrtc::MediaStreamTrackInterface
static const char kAudioKind [] = "audio"
 
static const char kVideoKind [] = "video"
 

Member Enumeration Documentation

◆ ContentHint [1/2]

Enumerator
kNone 
kFluid 
kDetailed 
kNone 
kFluid 
kDetailed 

◆ ContentHint [2/2]

Enumerator
kNone 
kFluid 
kDetailed 
kNone 
kFluid 
kDetailed 

Constructor & Destructor Documentation

◆ ~VideoTrackInterface() [1/2]

virtual webrtc::VideoTrackInterface::~VideoTrackInterface ( )
inlineprotectedvirtual

◆ ~VideoTrackInterface() [2/2]

virtual webrtc::VideoTrackInterface::~VideoTrackInterface ( )
inlineprotectedvirtual

Member Function Documentation

◆ AddOrUpdateSink() [1/2]

void webrtc::VideoTrackInterface::AddOrUpdateSink ( rtc::VideoSinkInterface< VideoFrame > *  ,
const rtc::VideoSinkWants  
)
inlineoverride

◆ AddOrUpdateSink() [2/2]

void webrtc::VideoTrackInterface::AddOrUpdateSink ( rtc::VideoSinkInterface< VideoFrame > *  ,
const rtc::VideoSinkWants  
)
inlineoverride

◆ content_hint() [1/2]

virtual ContentHint webrtc::VideoTrackInterface::content_hint ( ) const
inlinevirtual

Reimplemented in webrtc::VideoTrack, and webrtc::VideoTrack.

◆ content_hint() [2/2]

virtual ContentHint webrtc::VideoTrackInterface::content_hint ( ) const
inlinevirtual

Reimplemented in webrtc::VideoTrack, and webrtc::VideoTrack.

◆ GetSource() [1/2]

virtual VideoTrackSourceInterface* webrtc::VideoTrackInterface::GetSource ( ) const
pure virtual

Implemented in webrtc::VideoTrack, and webrtc::VideoTrack.

◆ GetSource() [2/2]

virtual VideoTrackSourceInterface* webrtc::VideoTrackInterface::GetSource ( ) const
pure virtual

Implemented in webrtc::VideoTrack, and webrtc::VideoTrack.

◆ RemoveSink() [1/2]

void webrtc::VideoTrackInterface::RemoveSink ( rtc::VideoSinkInterface< VideoFrame > *  )
inlineoverride

◆ RemoveSink() [2/2]

void webrtc::VideoTrackInterface::RemoveSink ( rtc::VideoSinkInterface< VideoFrame > *  )
inlineoverride

◆ set_content_hint() [1/2]

virtual void webrtc::VideoTrackInterface::set_content_hint ( ContentHint  )
inlinevirtual

Reimplemented in webrtc::VideoTrack, and webrtc::VideoTrack.

◆ set_content_hint() [2/2]

virtual void webrtc::VideoTrackInterface::set_content_hint ( ContentHint  )
inlinevirtual

Reimplemented in webrtc::VideoTrack, and webrtc::VideoTrack.


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