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

#include <fakeperiodicvideocapturer.h>

Inheritance diagram for webrtc::FakePeriodicVideoCapturer:
cricket::FakeVideoCapturer rtc::MessageHandler cricket::FakeVideoCapturer rtc::MessageHandler cricket::VideoCapturer cricket::VideoCapturer cricket::VideoCapturer cricket::VideoCapturer rtc::VideoSourceInterface< webrtc::VideoFrame > sigslot::has_slots<> rtc::VideoSourceInterface< webrtc::VideoFrame > sigslot::has_slots<> rtc::VideoSourceInterface< webrtc::VideoFrame > sigslot::has_slots<> rtc::VideoSourceInterface< webrtc::VideoFrame > sigslot::has_slots<> rtc::VideoSourceInterface< webrtc::VideoFrame > sigslot::has_slots<> rtc::VideoSourceInterface< webrtc::VideoFrame > sigslot::has_slots<> rtc::VideoSourceInterface< webrtc::VideoFrame > sigslot::has_slots<> rtc::VideoSourceInterface< webrtc::VideoFrame > sigslot::has_slots<>

Public Member Functions

 FakePeriodicVideoCapturer ()
 
virtual cricket::CaptureState Start (const cricket::VideoFormat &format)
 
virtual void Stop ()
 
virtual void OnMessage (rtc::Message *msg)
 
 FakePeriodicVideoCapturer ()
 
virtual cricket::CaptureState Start (const cricket::VideoFormat &format)
 
virtual void Stop ()
 
virtual void OnMessage (rtc::Message *msg)
 
- Public Member Functions inherited from cricket::FakeVideoCapturer
 FakeVideoCapturer (bool is_screencast)
 
 FakeVideoCapturer ()
 
 ~FakeVideoCapturer ()
 
void ResetSupportedFormats (const std::vector< cricket::VideoFormat > &formats)
 
bool CaptureFrame ()
 
bool CaptureCustomFrame (int width, int height, uint32_t fourcc)
 
bool CaptureCustomFrame (int width, int height, int64_t timestamp_interval, uint32_t fourcc)
 
bool IsRunning () override
 
bool IsScreencast () const override
 
bool GetPreferredFourccs (std::vector< uint32_t > *fourccs) override
 
void SetRotation (webrtc::VideoRotation rotation)
 
webrtc::VideoRotation GetRotation ()
 
 FakeVideoCapturer (bool is_screencast)
 
 FakeVideoCapturer ()
 
 ~FakeVideoCapturer ()
 
void ResetSupportedFormats (const std::vector< cricket::VideoFormat > &formats)
 
bool CaptureFrame ()
 
bool CaptureCustomFrame (int width, int height, uint32_t fourcc)
 
bool CaptureCustomFrame (int width, int height, int64_t timestamp_interval, uint32_t fourcc)
 
bool IsRunning () override
 
bool IsScreencast () const override
 
bool GetPreferredFourccs (std::vector< uint32_t > *fourccs) override
 
void SetRotation (webrtc::VideoRotation rotation)
 
webrtc::VideoRotation GetRotation ()
 
- Public Member Functions inherited from cricket::VideoCapturer
 VideoCapturer ()
 
virtual ~VideoCapturer ()
 
const std::stringGetId () const
 
const std::vector< VideoFormat > * GetSupportedFormats () const
 
virtual bool GetBestCaptureFormat (const VideoFormat &desired, VideoFormat *best_format)
 
bool StartCapturing (const VideoFormat &capture_format)
 
const VideoFormatGetCaptureFormat () const
 
CaptureState capture_state () const
 
virtual bool apply_rotation ()
 
void ConstrainSupportedFormats (const VideoFormat &max_format)
 
void set_enable_camera_list (bool enable_camera_list)
 
bool enable_camera_list ()
 
bool enable_video_adapter () const
 
void set_enable_video_adapter (bool enable_video_adapter)
 
bool GetInputSize (int *width, int *height)
 
void AddOrUpdateSink (rtc::VideoSinkInterface< webrtc::VideoFrame > *sink, const rtc::VideoSinkWants &wants) override
 
void RemoveSink (rtc::VideoSinkInterface< webrtc::VideoFrame > *sink) override
 
 VideoCapturer ()
 
virtual ~VideoCapturer ()
 
const std::stringGetId () const
 
const std::vector< VideoFormat > * GetSupportedFormats () const
 
virtual bool GetBestCaptureFormat (const VideoFormat &desired, VideoFormat *best_format)
 
bool StartCapturing (const VideoFormat &capture_format)
 
const VideoFormatGetCaptureFormat () const
 
CaptureState capture_state () const
 
virtual bool apply_rotation ()
 
void ConstrainSupportedFormats (const VideoFormat &max_format)
 
void set_enable_camera_list (bool enable_camera_list)
 
bool enable_camera_list ()
 
bool enable_video_adapter () const
 
void set_enable_video_adapter (bool enable_video_adapter)
 
bool GetInputSize (int *width, int *height)
 
void AddOrUpdateSink (rtc::VideoSinkInterface< webrtc::VideoFrame > *sink, const rtc::VideoSinkWants &wants) override
 
void RemoveSink (rtc::VideoSinkInterface< webrtc::VideoFrame > *sink) override
 
- 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 ()
 
- Public Member Functions inherited from rtc::MessageHandler
virtual WEBRTC_DYLIB_EXPORT ~MessageHandler ()
 
virtual WEBRTC_DYLIB_EXPORT ~MessageHandler ()
 

Additional Inherited Members

- Public Attributes inherited from cricket::FakeVideoCapturer
sigslot::signal1< FakeVideoCapturer * > SignalDestroyed
 
- Public Attributes inherited from cricket::VideoCapturer
sigslot::signal2< VideoCapturer *, CaptureStateSignalStateChange
 
- Protected Member Functions inherited from cricket::VideoCapturer
virtual void OnSinkWantsChanged (const rtc::VideoSinkWants &wants)
 
bool AdaptFrame (int width, int height, int64_t camera_time_us, int64_t system_time_us, int *out_width, int *out_height, int *crop_width, int *crop_height, int *crop_x, int *crop_y, int64_t *translated_camera_time_us)
 
void OnFrame (const webrtc::VideoFrame &frame, int orig_width, int orig_height)
 
VideoAdaptervideo_adapter ()
 
void SetCaptureState (CaptureState state)
 
void SetId (const std::string &id)
 
void SetCaptureFormat (const VideoFormat *format)
 
void SetSupportedFormats (const std::vector< VideoFormat > &formats)
 
virtual void OnSinkWantsChanged (const rtc::VideoSinkWants &wants)
 
bool AdaptFrame (int width, int height, int64_t camera_time_us, int64_t system_time_us, int *out_width, int *out_height, int *crop_width, int *crop_height, int *crop_x, int *crop_y, int64_t *translated_camera_time_us)
 
void OnFrame (const webrtc::VideoFrame &frame, int orig_width, int orig_height)
 
VideoAdaptervideo_adapter ()
 
void SetCaptureState (CaptureState state)
 
void SetId (const std::string &id)
 
void SetCaptureFormat (const VideoFormat *format)
 
void SetSupportedFormats (const std::vector< VideoFormat > &formats)
 
- 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 ()
 
- Protected Member Functions inherited from rtc::VideoSourceInterface< webrtc::VideoFrame >
virtual ~VideoSourceInterface ()
 
virtual ~VideoSourceInterface ()
 
- Protected Member Functions inherited from rtc::MessageHandler
 MessageHandler ()
 
 MessageHandler ()
 

Constructor & Destructor Documentation

◆ FakePeriodicVideoCapturer() [1/2]

webrtc::FakePeriodicVideoCapturer::FakePeriodicVideoCapturer ( )
inline

◆ FakePeriodicVideoCapturer() [2/2]

webrtc::FakePeriodicVideoCapturer::FakePeriodicVideoCapturer ( )
inline

Member Function Documentation

◆ OnMessage() [1/2]

virtual void webrtc::FakePeriodicVideoCapturer::OnMessage ( rtc::Message msg)
inlinevirtual

Implements rtc::MessageHandler.

◆ OnMessage() [2/2]

virtual void webrtc::FakePeriodicVideoCapturer::OnMessage ( rtc::Message msg)
inlinevirtual

Implements rtc::MessageHandler.

◆ Start() [1/2]

virtual cricket::CaptureState webrtc::FakePeriodicVideoCapturer::Start ( const cricket::VideoFormat format)
inlinevirtual

Reimplemented from cricket::FakeVideoCapturer.

◆ Start() [2/2]

virtual cricket::CaptureState webrtc::FakePeriodicVideoCapturer::Start ( const cricket::VideoFormat format)
inlinevirtual

Reimplemented from cricket::FakeVideoCapturer.

◆ Stop() [1/2]

virtual void webrtc::FakePeriodicVideoCapturer::Stop ( )
inlinevirtual

Reimplemented from cricket::FakeVideoCapturer.

◆ Stop() [2/2]

virtual void webrtc::FakePeriodicVideoCapturer::Stop ( )
inlinevirtual

Reimplemented from cricket::FakeVideoCapturer.


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