webkit  2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
Public Member Functions | List of all members
webrtc::VideoTrackSource Class Reference

#include <videotracksource.h>

Inheritance diagram for webrtc::VideoTrackSource:
webrtc::Notifier< VideoTrackSourceInterface > webrtc::Notifier< VideoTrackSourceInterface > webrtc::VideoTrackSourceInterface webrtc::VideoTrackSourceInterface webrtc::VideoTrackSourceInterface webrtc::VideoTrackSourceInterface rtc::VideoSourceInterface< VideoFrame > webrtc::MediaSourceInterface rtc::VideoSourceInterface< VideoFrame > webrtc::MediaSourceInterface rtc::VideoSourceInterface< VideoFrame > webrtc::MediaSourceInterface rtc::VideoSourceInterface< VideoFrame > webrtc::MediaSourceInterface rtc::VideoSourceInterface< VideoFrame > webrtc::MediaSourceInterface rtc::VideoSourceInterface< VideoFrame > webrtc::MediaSourceInterface rtc::VideoSourceInterface< VideoFrame > webrtc::MediaSourceInterface rtc::VideoSourceInterface< VideoFrame > webrtc::MediaSourceInterface webrtc::FakeVideoTrackSource webrtc::FakeVideoTrackSource webrtc::VideoCapturerTrackSource webrtc::VideoCapturerTrackSource

Public Member Functions

 VideoTrackSource (rtc::VideoSourceInterface< VideoFrame > *source, bool remote)
 
void SetState (SourceState new_state)
 
void OnSourceDestroyed ()
 
SourceState state () const override
 
bool remote () const override
 
bool is_screencast () const override
 
rtc::Optional< bool > needs_denoising () const override
 
bool GetStats (Stats *stats) override
 
void AddOrUpdateSink (rtc::VideoSinkInterface< VideoFrame > *sink, const rtc::VideoSinkWants &wants) override
 
void RemoveSink (rtc::VideoSinkInterface< VideoFrame > *sink) override
 
 VideoTrackSource (rtc::VideoSourceInterface< VideoFrame > *source, bool remote)
 
void SetState (SourceState new_state)
 
void OnSourceDestroyed ()
 
SourceState state () const override
 
bool remote () const override
 
bool is_screencast () const override
 
rtc::Optional< bool > needs_denoising () const override
 
bool GetStats (Stats *stats) override
 
void AddOrUpdateSink (rtc::VideoSinkInterface< VideoFrame > *sink, const rtc::VideoSinkWants &wants) override
 
void RemoveSink (rtc::VideoSinkInterface< VideoFrame > *sink) override
 
- Public Member Functions inherited from webrtc::Notifier< VideoTrackSourceInterface >
 Notifier ()
 
 Notifier ()
 
virtual void RegisterObserver (ObserverInterface *observer)
 
virtual void RegisterObserver (ObserverInterface *observer)
 
virtual void UnregisterObserver (ObserverInterface *observer)
 
virtual void UnregisterObserver (ObserverInterface *observer)
 
void FireOnChanged ()
 
void FireOnChanged ()
 
- 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 ~NotifierInterface ()
 
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
 

Additional Inherited Members

- Public Types inherited from webrtc::MediaSourceInterface
enum  SourceState {
  kInitializing, kLive, kEnded, kMuted,
  kInitializing, kLive, kEnded, kMuted
}
 
enum  SourceState {
  kInitializing, kLive, kEnded, kMuted,
  kInitializing, kLive, kEnded, kMuted
}
 
- Protected Member Functions inherited from webrtc::VideoTrackSourceInterface
virtual ~VideoTrackSourceInterface ()
 
virtual ~VideoTrackSourceInterface ()
 
- Protected Member Functions inherited from webrtc::MediaSourceInterface
virtual ~MediaSourceInterface ()
 
virtual ~MediaSourceInterface ()
 
- Protected Member Functions inherited from rtc::RefCountInterface
virtual ~RefCountInterface ()
 
virtual ~RefCountInterface ()
 
- Protected Member Functions inherited from rtc::VideoSourceInterface< VideoFrame >
virtual ~VideoSourceInterface ()
 
virtual ~VideoSourceInterface ()
 
- Protected Attributes inherited from webrtc::Notifier< VideoTrackSourceInterface >
std::list< ObserverInterface *> observers_
 

Constructor & Destructor Documentation

◆ VideoTrackSource() [1/2]

webrtc::VideoTrackSource::VideoTrackSource ( rtc::VideoSourceInterface< VideoFrame > *  source,
bool  remote 
)

◆ VideoTrackSource() [2/2]

webrtc::VideoTrackSource::VideoTrackSource ( rtc::VideoSourceInterface< VideoFrame > *  source,
bool  remote 
)

Member Function Documentation

◆ AddOrUpdateSink() [1/2]

void webrtc::VideoTrackSource::AddOrUpdateSink ( rtc::VideoSinkInterface< VideoFrame > *  sink,
const rtc::VideoSinkWants wants 
)
override

◆ AddOrUpdateSink() [2/2]

void webrtc::VideoTrackSource::AddOrUpdateSink ( rtc::VideoSinkInterface< VideoFrame > *  sink,
const rtc::VideoSinkWants wants 
)
override

◆ GetStats() [1/2]

bool webrtc::VideoTrackSource::GetStats ( Stats stats)
inlineoverridevirtual

◆ GetStats() [2/2]

bool webrtc::VideoTrackSource::GetStats ( Stats stats)
inlineoverridevirtual

◆ is_screencast() [1/2]

bool webrtc::VideoTrackSource::is_screencast ( ) const
inlineoverridevirtual

◆ is_screencast() [2/2]

bool webrtc::VideoTrackSource::is_screencast ( ) const
inlineoverridevirtual

◆ needs_denoising() [1/2]

rtc::Optional<bool> webrtc::VideoTrackSource::needs_denoising ( ) const
inlineoverridevirtual

◆ needs_denoising() [2/2]

rtc::Optional<bool> webrtc::VideoTrackSource::needs_denoising ( ) const
inlineoverridevirtual

◆ OnSourceDestroyed() [1/2]

void webrtc::VideoTrackSource::OnSourceDestroyed ( )

◆ OnSourceDestroyed() [2/2]

void webrtc::VideoTrackSource::OnSourceDestroyed ( )

◆ remote() [1/2]

bool webrtc::VideoTrackSource::remote ( ) const
inlineoverridevirtual

◆ remote() [2/2]

bool webrtc::VideoTrackSource::remote ( ) const
inlineoverridevirtual

◆ RemoveSink() [1/2]

void webrtc::VideoTrackSource::RemoveSink ( rtc::VideoSinkInterface< VideoFrame > *  sink)
override

◆ RemoveSink() [2/2]

void webrtc::VideoTrackSource::RemoveSink ( rtc::VideoSinkInterface< VideoFrame > *  sink)
override

◆ SetState() [1/2]

void webrtc::VideoTrackSource::SetState ( SourceState  new_state)

◆ SetState() [2/2]

void webrtc::VideoTrackSource::SetState ( SourceState  new_state)

◆ state() [1/2]

SourceState webrtc::VideoTrackSource::state ( ) const
inlineoverridevirtual

◆ state() [2/2]

SourceState webrtc::VideoTrackSource::state ( ) const
inlineoverridevirtual

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