3#include "mc/_HeaderOutputPredefine.h"
6#include "mc/external/rtc/VideoSinkInterface.h"
7#include "mc/external/rtc/VideoSourceBaseGuarded.h"
8#include "mc/external/webrtc/MediaStreamTrack.h"
9#include "mc/external/webrtc/MediaStreamTrackInterface.h"
10#include "mc/external/webrtc/ObserverInterface.h"
11#include "mc/external/webrtc/VideoTrackInterface.h"
12#include "mc/external/webrtc/scoped_refptr.h"
16namespace rtc {
class Thread; }
39 VideoTrack& operator=(VideoTrack
const&);
40 VideoTrack(VideoTrack
const&);
46 virtual void AddOrUpdateSink(
53 virtual void RequestRefreshFrame() ;
55 virtual ::webrtc::VideoTrackSourceInterface* GetSource()
const ;
57 virtual ::webrtc::VideoTrackInterface::ContentHint content_hint()
const ;
59 virtual void set_content_hint(::webrtc::VideoTrackInterface::ContentHint hint) ;
61 virtual bool set_enabled(
bool enable) ;
63 virtual bool enabled()
const ;
65 virtual ::webrtc::MediaStreamTrackInterface::TrackState state()
const ;
67 virtual ::std::string kind()
const ;
69 virtual ~VideoTrack() ;
71 virtual void OnChanged() ;
77 MCNAPI static ::webrtc::scoped_refptr<::webrtc::VideoTrack>
Create(
78 ::std::string_view
id,
100 MCNAPI ::webrtc::VideoTrackSourceInterface*
$GetSource()
const;
110 MCNAPI ::webrtc::MediaStreamTrackInterface::TrackState
$state()
const;
Definition VideoSinkInterface.h:8
Definition VideoSourceBaseGuarded.h:17
Definition ObserverInterface.h:7
Definition VideoFrame.h:16
Definition VideoTrackSourceInterface.h:20
static MCAPI void ** $vftableForObserverInterface()
static MCAPI void ** $vftableForNotifierInterface()
static MCAPI ::webrtc::scoped_refptr<::webrtc::VideoTrack > Create(::std::string_view id, ::webrtc::scoped_refptr<::webrtc::VideoTrackSourceInterface > source, ::rtc::Thread *worker_thread)
MCAPI bool $set_enabled(bool enable)
static MCAPI void ** $vftableForVideoSourceBaseGuarded()
MCAPI::std::string $kind() const
MCAPI void $RemoveSink(::rtc::VideoSinkInterface<::webrtc::VideoFrame > *sink)
MCAPI void $RequestRefreshFrame()
static MCAPI void ** $vftableForMediaStreamTrack()
static MCAPI void ** $vftableForRefCountInterface()
MCAPI bool $enabled() const
MCAPI::webrtc::VideoTrackInterface::ContentHint $content_hint() const
MCAPI::webrtc::VideoTrackSourceInterface * $GetSource() const
MCAPI void $set_content_hint(::webrtc::VideoTrackInterface::ContentHint hint)
MCAPI::webrtc::MediaStreamTrackInterface::TrackState $state() const
MCAPI void $AddOrUpdateSink(::rtc::VideoSinkInterface<::webrtc::VideoFrame > *sink, ::rtc::VideoSinkWants const &wants)
Definition scoped_refptr.h:8
Definition VideoSinkWants.h:7