3#include "mc/_HeaderOutputPredefine.h"
6#include "mc/external/webrtc/VideoSinkInterface.h"
7#include "mc/external/webrtc/VideoSourceInterface.h"
8#include "mc/external/webrtc/VideoTrackSource.h"
32 virtual void OnGenerateKeyFrame() = 0;
34 virtual void OnEncodedSinkEnabled(
bool enable) = 0;
50 VideoRtpTrackSource& operator=(VideoRtpTrackSource
const&);
51 VideoRtpTrackSource(VideoRtpTrackSource
const&);
52 VideoRtpTrackSource();
57 virtual ::webrtc::VideoSourceInterface<::webrtc::VideoFrame>* source() ;
59 virtual bool SupportsEncodedOutput() const ;
61 virtual
void GenerateKeyFrame() ;
67 virtual ~VideoRtpTrackSource() = default;
77 MCNAPI explicit VideoRtpTrackSource(::webrtc::VideoRtpTrackSource::
Callback* callback);
Definition RecordableEncodedFrame.h:19
Definition VideoFrame.h:16
Definition VideoRtpTrackSource.h:26
MCAPI void BroadcastRecordableEncodedFrame(::webrtc::RecordableEncodedFrame const &frame) const
MCAPI ::webrtc::VideoSinkInterface<::webrtc::VideoFrame > * sink()
static MCAPI void ** $vftableForRefCountInterface()
MCAPI void $AddEncodedSink(::webrtc::VideoSinkInterface<::webrtc::RecordableEncodedFrame > *sink)
static MCAPI void ** $vftableForNotifierInterface()
MCAPI bool $SupportsEncodedOutput() const
MCAPI void * $ctor(::webrtc::VideoRtpTrackSource::Callback *callback)
MCAPI ::webrtc::VideoSourceInterface<::webrtc::VideoFrame > * $source()
MCAPI void $RemoveEncodedSink(::webrtc::VideoSinkInterface<::webrtc::RecordableEncodedFrame > *sink)
MCAPI void ClearCallback()
MCAPI void $GenerateKeyFrame()
static MCAPI void ** $vftable()
Definition VideoSinkInterface.h:8
Definition VideoSourceInterface.h:8
Definition VideoTrackSource.h:21