Open3D (C++ API)  0.18.0+252c867
Public Member Functions | Static Public Member Functions | Protected Member Functions
open3d::visualization::webrtc_server::ImageTrackSource Class Reference

#include <ImageCapturer.h>

Inheritance diagram for open3d::visualization::webrtc_server::ImageTrackSource:
open3d::visualization::webrtc_server::BitmapTrackSource

Public Member Functions

void OnFrame (const std::shared_ptr< core::Tensor > &frame) final override
 
- Public Member Functions inherited from open3d::visualization::webrtc_server::BitmapTrackSource
 BitmapTrackSource (bool remote)
 
void SetState (webrtc::MediaSourceInterface::SourceState new_state)
 
webrtc::MediaSourceInterface::SourceState state () const override
 
bool remote () const override
 
bool is_screencast () const override
 
absl::optional< bool > needs_denoising () const override
 
bool GetStats (Stats *stats) override
 
void AddOrUpdateSink (rtc::VideoSinkInterface< webrtc::VideoFrame > *sink, const rtc::VideoSinkWants &wants) override
 
void RemoveSink (rtc::VideoSinkInterface< webrtc::VideoFrame > *sink) override
 
bool SupportsEncodedOutput () const override
 
void GenerateKeyFrame () override
 
void AddEncodedSink (rtc::VideoSinkInterface< webrtc::RecordableEncodedFrame > *sink) override
 
void RemoveEncodedSink (rtc::VideoSinkInterface< webrtc::RecordableEncodedFrame > *sink) override
 

Static Public Member Functions

static rtc::scoped_refptr< BitmapTrackSourceInterfaceCreate (const std::string &window_uid, const std::map< std::string, std::string > &opts)
 

Protected Member Functions

 ImageTrackSource (std::unique_ptr< ImageCapturer > capturer)
 

Constructor & Destructor Documentation

◆ ImageTrackSource()

open3d::visualization::webrtc_server::ImageTrackSource::ImageTrackSource ( std::unique_ptr< ImageCapturer capturer)
inlineexplicitprotected

Member Function Documentation

◆ Create()

static rtc::scoped_refptr<BitmapTrackSourceInterface> open3d::visualization::webrtc_server::ImageTrackSource::Create ( const std::string &  window_uid,
const std::map< std::string, std::string > &  opts 
)
inlinestatic

◆ OnFrame()

void open3d::visualization::webrtc_server::ImageTrackSource::OnFrame ( const std::shared_ptr< core::Tensor > &  frame)
inlinefinaloverridevirtual

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