![]() |
ACloudViewer
3.9.4
A Modern Library for 3D Data Processing
|
#include <ImageCapturer.h>


Public Member Functions | |
| ImageCapturer (const std::string &url_, const std::map< std::string, std::string > &opts) | |
| virtual | ~ImageCapturer () |
| ImageCapturer (const std::map< std::string, std::string > &opts) | |
| virtual void | AddOrUpdateSink (rtc::VideoSinkInterface< webrtc::VideoFrame > *sink, const rtc::VideoSinkWants &wants) override |
| virtual void | RemoveSink (rtc::VideoSinkInterface< webrtc::VideoFrame > *sink) override |
| void | OnCaptureResult (const std::shared_ptr< core::Tensor > &frame) |
Static Public Member Functions | |
| static ImageCapturer * | Create (const std::string &url, const std::map< std::string, std::string > &opts) |
Protected Attributes | |
| int | width_ |
| int | height_ |
| rtc::VideoBroadcaster | broadcaster_ |
Definition at line 29 of file ImageCapturer.h.
| cloudViewer::visualization::webrtc_server::ImageCapturer::ImageCapturer | ( | const std::string & | url_, |
| const std::map< std::string, std::string > & | opts | ||
| ) |
Definition at line 25 of file ImageCapturer.cpp.
Referenced by Create().
|
virtual |
Definition at line 29 of file ImageCapturer.cpp.
| cloudViewer::visualization::webrtc_server::ImageCapturer::ImageCapturer | ( | const std::map< std::string, std::string > & | opts | ) |
Definition at line 38 of file ImageCapturer.cpp.
|
overridevirtual |
Definition at line 97 of file ImageCapturer.cpp.
References broadcaster_.
|
static |
Definition at line 31 of file ImageCapturer.cpp.
References ImageCapturer().
Referenced by cloudViewer::visualization::webrtc_server::ImageTrackSource::Create().
| void cloudViewer::visualization::webrtc_server::ImageCapturer::OnCaptureResult | ( | const std::shared_ptr< core::Tensor > & | frame | ) |
Definition at line 48 of file ImageCapturer.cpp.
References broadcaster_, frame, height, height_, LogError, width, and width_.
|
overridevirtual |
Definition at line 103 of file ImageCapturer.cpp.
References broadcaster_.
|
protected |
Definition at line 53 of file ImageCapturer.h.
Referenced by AddOrUpdateSink(), OnCaptureResult(), and RemoveSink().
|
protected |
Definition at line 52 of file ImageCapturer.h.
Referenced by OnCaptureResult().
|
protected |
Definition at line 51 of file ImageCapturer.h.
Referenced by OnCaptureResult().