3#include "mc/_HeaderOutputPredefine.h"
6#include "mc/external/rtc/VideoSinkInterface.h"
7#include "mc/external/rtc/VideoSourceInterface.h"
8#include "mc/external/webrtc/MediaSourceInterface.h"
9#include "mc/external/webrtc/Notifier.h"
10#include "mc/external/webrtc/VideoTrackSourceInterface.h"
14namespace rtc {
struct VideoSinkWants; }
15namespace webrtc {
class RecordableEncodedFrame; }
16namespace webrtc {
class VideoFrame; }
41 virtual ::webrtc::MediaSourceInterface::SourceState state()
const ;
44 virtual bool remote()
const ;
47 virtual bool is_screencast()
const ;
50 virtual ::std::optional<bool> needs_denoising()
const ;
56 virtual void AddOrUpdateSink(
65 virtual bool SupportsEncodedOutput()
const ;
68 virtual void GenerateKeyFrame() ;
77 virtual ::rtc::VideoSourceInterface<::webrtc::VideoFrame>* source() = 0;
86 MCNAPI
void SetState(::webrtc::MediaSourceInterface::SourceState new_state);
94 MCNAPI
void*
$ctor(
bool remote);
106 MCNAPI ::webrtc::MediaSourceInterface::SourceState
$state()
const;
Definition VideoSinkInterface.h:8
Definition VideoTrackSource.h:21
MCAPI void * $ctor(bool remote)
MCAPI VideoTrackSource(bool remote)
MCAPI void $AddEncodedSink(::rtc::VideoSinkInterface<::webrtc::RecordableEncodedFrame > *sink)
MCAPI bool $remote() const
MCAPI void SetState(::webrtc::MediaSourceInterface::SourceState new_state)
MCAPI void $RemoveEncodedSink(::rtc::VideoSinkInterface<::webrtc::RecordableEncodedFrame > *sink)
MCAPI bool $GetStats(::webrtc::VideoTrackSourceInterface::Stats *stats)
MCAPI bool $is_screencast() const
static MCAPI void ** $vftableForNotifierInterface()
MCAPI void $GenerateKeyFrame()
MCAPI void $AddOrUpdateSink(::rtc::VideoSinkInterface<::webrtc::VideoFrame > *sink, ::rtc::VideoSinkWants const &wants)
static MCAPI void ** $vftable()
MCAPI::webrtc::MediaSourceInterface::SourceState $state() const
MCAPI ::std::optional< bool > $needs_denoising() const
static MCAPI void ** $vftableForRefCountInterface()
MCAPI bool $SupportsEncodedOutput() const
MCAPI void $RemoveSink(::rtc::VideoSinkInterface<::webrtc::VideoFrame > *sink)
Definition VideoSinkWants.h:7
Definition VideoTrackSourceInterface.h:28