3#include "mc/_HeaderOutputPredefine.h"
6#include "mc/external/rtc/VideoSinkInterface.h"
7#include "mc/external/rtc/VideoSourceInterface.h"
8#include "mc/external/webrtc/VideoTrackSource.h"
32 virtual void OnGenerateKeyFrame() = 0;
34 virtual void OnEncodedSinkEnabled(
bool) = 0;
56 VideoRtpTrackSource& operator=(VideoRtpTrackSource
const&);
57 VideoRtpTrackSource(VideoRtpTrackSource
const&);
58 VideoRtpTrackSource();
63 virtual ::rtc::VideoSourceInterface<::webrtc::VideoFrame>* source() ;
65 virtual bool SupportsEncodedOutput() const ;
67 virtual
void GenerateKeyFrame() ;
73 virtual ~VideoRtpTrackSource() ;
83 MCNAPI explicit VideoRtpTrackSource(::webrtc::VideoRtpTrackSource::
Callback* callback);
Definition RecordableEncodedFrame.h:18
Definition VideoFrame.h:16
Definition VideoRtpTrackSource.h:26
MCAPI void $RemoveEncodedSink(::rtc::VideoSinkInterface<::webrtc::RecordableEncodedFrame > *sink)
MCAPI void BroadcastRecordableEncodedFrame(::webrtc::RecordableEncodedFrame const &frame) const
MCAPI ::rtc::VideoSourceInterface<::webrtc::VideoFrame > * $source()
static MCAPI void ** $vftableForRefCountInterface()
MCAPI void $AddEncodedSink(::rtc::VideoSinkInterface<::webrtc::RecordableEncodedFrame > *sink)
static MCAPI void ** $vftableForNotifierInterface()
MCAPI ::rtc::VideoSinkInterface<::webrtc::VideoFrame > * sink()
MCAPI bool $SupportsEncodedOutput() const
MCAPI void * $ctor(::webrtc::VideoRtpTrackSource::Callback *callback)
MCAPI void ClearCallback()
MCAPI void $GenerateKeyFrame()
static MCAPI void ** $vftable()
Definition VideoTrackSource.h:21