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

#include <fakevideotracksource.h>

Inheritance diagram for webrtc::FakeVideoTrackSource:
webrtc::VideoTrackSource webrtc::VideoTrackSource webrtc::Notifier< VideoTrackSourceInterface > webrtc::Notifier< VideoTrackSourceInterface > webrtc::Notifier< VideoTrackSourceInterface > webrtc::Notifier< VideoTrackSourceInterface > webrtc::VideoTrackSourceInterface webrtc::VideoTrackSourceInterface webrtc::VideoTrackSourceInterface webrtc::VideoTrackSourceInterface webrtc::VideoTrackSourceInterface webrtc::VideoTrackSourceInterface webrtc::VideoTrackSourceInterface webrtc::VideoTrackSourceInterface

Public Member Functions

cricket::FakeVideoCapturerfake_video_capturer ()
 
bool is_screencast () const override
 
cricket::FakeVideoCapturerfake_video_capturer ()
 
bool is_screencast () const override
 
- Public Member Functions inherited from webrtc::VideoTrackSource
 VideoTrackSource (rtc::VideoSourceInterface< VideoFrame > *source, bool remote)
 
void SetState (SourceState new_state)
 
void OnSourceDestroyed ()
 
SourceState state () const override
 
bool remote () 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
 

Static Public Member Functions

static rtc::scoped_refptr< FakeVideoTrackSourceCreate (bool is_screencast)
 
static rtc::scoped_refptr< FakeVideoTrackSourceCreate ()
 
static rtc::scoped_refptr< FakeVideoTrackSourceCreate (bool is_screencast)
 
static rtc::scoped_refptr< FakeVideoTrackSourceCreate ()
 

Protected Member Functions

 FakeVideoTrackSource (bool is_screencast)
 
virtual ~FakeVideoTrackSource ()
 
 FakeVideoTrackSource (bool is_screencast)
 
virtual ~FakeVideoTrackSource ()
 
- 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 ()
 

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 Attributes inherited from webrtc::Notifier< VideoTrackSourceInterface >
std::list< ObserverInterface *> observers_
 

Constructor & Destructor Documentation

◆ FakeVideoTrackSource() [1/2]

webrtc::FakeVideoTrackSource::FakeVideoTrackSource ( bool  is_screencast)
inlineexplicitprotected

◆ ~FakeVideoTrackSource() [1/2]

virtual webrtc::FakeVideoTrackSource::~FakeVideoTrackSource ( )
inlineprotectedvirtual

◆ FakeVideoTrackSource() [2/2]

webrtc::FakeVideoTrackSource::FakeVideoTrackSource ( bool  is_screencast)
inlineexplicitprotected

◆ ~FakeVideoTrackSource() [2/2]

virtual webrtc::FakeVideoTrackSource::~FakeVideoTrackSource ( )
inlineprotectedvirtual

Member Function Documentation

◆ Create() [1/4]

static rtc::scoped_refptr<FakeVideoTrackSource> webrtc::FakeVideoTrackSource::Create ( bool  is_screencast)
inlinestatic

◆ Create() [2/4]

static rtc::scoped_refptr<FakeVideoTrackSource> webrtc::FakeVideoTrackSource::Create ( bool  is_screencast)
inlinestatic

◆ Create() [3/4]

static rtc::scoped_refptr<FakeVideoTrackSource> webrtc::FakeVideoTrackSource::Create ( )
inlinestatic

◆ Create() [4/4]

static rtc::scoped_refptr<FakeVideoTrackSource> webrtc::FakeVideoTrackSource::Create ( )
inlinestatic

◆ fake_video_capturer() [1/2]

cricket::FakeVideoCapturer* webrtc::FakeVideoTrackSource::fake_video_capturer ( )
inline

◆ fake_video_capturer() [2/2]

cricket::FakeVideoCapturer* webrtc::FakeVideoTrackSource::fake_video_capturer ( )
inline

◆ is_screencast() [1/2]

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

◆ is_screencast() [2/2]

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

Reimplemented from webrtc::VideoTrackSource.


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