webkit  2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
Public Member Functions | Static Public Member Functions | Protected Member Functions | List of all members
webrtc::VideoCapturerTrackSource Class Reference

#include <videocapturertracksource.h>

Inheritance diagram for webrtc::VideoCapturerTrackSource:
webrtc::VideoTrackSource sigslot::has_slots<> webrtc::VideoTrackSource sigslot::has_slots<> sigslot::has_slots_interface sigslot::has_slots_interface webrtc::Notifier< VideoTrackSourceInterface > webrtc::Notifier< VideoTrackSourceInterface > sigslot::has_slots_interface sigslot::has_slots_interface webrtc::Notifier< VideoTrackSourceInterface > webrtc::Notifier< VideoTrackSourceInterface >

Public Member Functions

bool is_screencast () const final
 
rtc::Optional< bool > needs_denoising () const final
 
bool GetStats (Stats *stats) final
 
bool is_screencast () const final
 
rtc::Optional< bool > needs_denoising () const final
 
bool GetStats (Stats *stats) final
 
- 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
 
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
 
- Public Member Functions inherited from sigslot::has_slots<>
 has_slots ()
 
 has_slots ()
 
 ~has_slots ()
 
 ~has_slots ()
 
- Public Member Functions inherited from sigslot::has_slots_interface
void signal_connect (_signal_base_interface *sender)
 
void signal_disconnect (_signal_base_interface *sender)
 
void disconnect_all ()
 
void signal_connect (_signal_base_interface *sender)
 
void signal_disconnect (_signal_base_interface *sender)
 
void disconnect_all ()
 

Static Public Member Functions

static rtc::scoped_refptr< VideoTrackSourceInterfaceCreate (rtc::Thread *worker_thread, std::unique_ptr< cricket::VideoCapturer > capturer, const webrtc::MediaConstraintsInterface *constraints, bool remote)
 
static rtc::scoped_refptr< VideoTrackSourceInterfaceCreate (rtc::Thread *worker_thread, std::unique_ptr< cricket::VideoCapturer > capturer, bool remote)
 
static rtc::scoped_refptr< VideoTrackSourceInterfaceCreate (rtc::Thread *worker_thread, std::unique_ptr< cricket::VideoCapturer > capturer, const webrtc::MediaConstraintsInterface *constraints, bool remote)
 
static rtc::scoped_refptr< VideoTrackSourceInterfaceCreate (rtc::Thread *worker_thread, std::unique_ptr< cricket::VideoCapturer > capturer, bool remote)
 

Protected Member Functions

 VideoCapturerTrackSource (rtc::Thread *worker_thread, std::unique_ptr< cricket::VideoCapturer > capturer, bool remote)
 
virtual ~VideoCapturerTrackSource ()
 
void Initialize (const webrtc::MediaConstraintsInterface *constraints)
 
 VideoCapturerTrackSource (rtc::Thread *worker_thread, std::unique_ptr< cricket::VideoCapturer > capturer, bool remote)
 
virtual ~VideoCapturerTrackSource ()
 
void Initialize (const webrtc::MediaConstraintsInterface *constraints)
 
- 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 Member Functions inherited from sigslot::has_slots_interface
 has_slots_interface (signal_connect_t conn, signal_disconnect_t disc, disconnect_all_t disc_all)
 
virtual ~has_slots_interface ()
 
 has_slots_interface (signal_connect_t conn, signal_disconnect_t disc, disconnect_all_t disc_all)
 
virtual ~has_slots_interface ()
 

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

◆ VideoCapturerTrackSource() [1/2]

webrtc::VideoCapturerTrackSource::VideoCapturerTrackSource ( rtc::Thread worker_thread,
std::unique_ptr< cricket::VideoCapturer capturer,
bool  remote 
)
protected

◆ ~VideoCapturerTrackSource() [1/2]

webrtc::VideoCapturerTrackSource::~VideoCapturerTrackSource ( )
protectedvirtual

◆ VideoCapturerTrackSource() [2/2]

webrtc::VideoCapturerTrackSource::VideoCapturerTrackSource ( rtc::Thread worker_thread,
std::unique_ptr< cricket::VideoCapturer capturer,
bool  remote 
)
protected

◆ ~VideoCapturerTrackSource() [2/2]

virtual webrtc::VideoCapturerTrackSource::~VideoCapturerTrackSource ( )
protectedvirtual

Member Function Documentation

◆ Create() [1/4]

rtc::scoped_refptr< VideoTrackSourceInterface > webrtc::VideoCapturerTrackSource::Create ( rtc::Thread worker_thread,
std::unique_ptr< cricket::VideoCapturer capturer,
const webrtc::MediaConstraintsInterface constraints,
bool  remote 
)
static

◆ Create() [2/4]

static rtc::scoped_refptr<VideoTrackSourceInterface> webrtc::VideoCapturerTrackSource::Create ( rtc::Thread worker_thread,
std::unique_ptr< cricket::VideoCapturer capturer,
const webrtc::MediaConstraintsInterface constraints,
bool  remote 
)
static

◆ Create() [3/4]

rtc::scoped_refptr< VideoTrackSourceInterface > webrtc::VideoCapturerTrackSource::Create ( rtc::Thread worker_thread,
std::unique_ptr< cricket::VideoCapturer capturer,
bool  remote 
)
static

◆ Create() [4/4]

static rtc::scoped_refptr<VideoTrackSourceInterface> webrtc::VideoCapturerTrackSource::Create ( rtc::Thread worker_thread,
std::unique_ptr< cricket::VideoCapturer capturer,
bool  remote 
)
static

◆ GetStats() [1/2]

bool webrtc::VideoCapturerTrackSource::GetStats ( Stats stats)
finalvirtual

Reimplemented from webrtc::VideoTrackSource.

◆ GetStats() [2/2]

bool webrtc::VideoCapturerTrackSource::GetStats ( Stats stats)
finalvirtual

◆ Initialize() [1/2]

void webrtc::VideoCapturerTrackSource::Initialize ( const webrtc::MediaConstraintsInterface constraints)
protected

◆ Initialize() [2/2]

void webrtc::VideoCapturerTrackSource::Initialize ( const webrtc::MediaConstraintsInterface constraints)
protected

◆ is_screencast() [1/2]

bool webrtc::VideoCapturerTrackSource::is_screencast ( ) const
inlinefinalvirtual

Reimplemented from webrtc::VideoTrackSource.

◆ is_screencast() [2/2]

bool webrtc::VideoCapturerTrackSource::is_screencast ( ) const
inlinefinalvirtual

◆ needs_denoising() [1/2]

rtc::Optional<bool> webrtc::VideoCapturerTrackSource::needs_denoising ( ) const
inlinefinalvirtual

◆ needs_denoising() [2/2]

rtc::Optional<bool> webrtc::VideoCapturerTrackSource::needs_denoising ( ) const
inlinefinalvirtual

Reimplemented from webrtc::VideoTrackSource.


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