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/VideoTrackSourceProxyWithInternal.h"
13#include "mc/external/webrtc/scoped_refptr.h"
17namespace rtc {
class Thread; }
18namespace rtc {
struct VideoSinkWants; }
19namespace webrtc {
class VideoFrame; }
20namespace webrtc {
class VideoTrackSourceInterface; }
48 virtual void AddOrUpdateSink(
57 virtual void RequestRefreshFrame() ;
60 virtual ::webrtc::VideoTrackSourceInterface* GetSource()
const ;
63 virtual ::webrtc::VideoTrackInterface::ContentHint content_hint()
const ;
66 virtual void set_content_hint(::webrtc::VideoTrackInterface::ContentHint hint) ;
69 virtual bool set_enabled(
bool enable) ;
72 virtual bool enabled()
const ;
75 virtual ::webrtc::MediaStreamTrackInterface::TrackState state()
const ;
78 virtual ::std::string kind()
const ;
84 virtual void OnChanged() ;
91 ::std::string_view label,
101 MCNAPI static ::webrtc::scoped_refptr<::webrtc::VideoTrack>
Create(
102 ::std::string_view
id,
112 ::std::string_view label,
135 MCNAPI ::webrtc::VideoTrackSourceInterface*
$GetSource()
const;
145 MCNAPI ::webrtc::MediaStreamTrackInterface::TrackState
$state()
const;
Definition VideoSinkInterface.h:8
Definition VideoSourceBaseGuarded.h:17
Definition ObserverInterface.h:7
Definition VideoTrackSourceProxyWithInternal.h:8
Definition VideoTrack.h:27
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()
MCAPI VideoTrack(::std::string_view label, ::webrtc::scoped_refptr<::webrtc::VideoTrackSourceProxyWithInternal<::webrtc::VideoTrackSourceInterface > > source, ::rtc::Thread *worker_thread)
static MCAPI void ** $vftableForRefCountInterface()
MCAPI bool $enabled() const
MCAPI::webrtc::VideoTrackInterface::ContentHint $content_hint() const
MCAPI::webrtc::VideoTrackSourceInterface * $GetSource() const
MCAPI void * $ctor(::std::string_view label, ::webrtc::scoped_refptr<::webrtc::VideoTrackSourceProxyWithInternal<::webrtc::VideoTrackSourceInterface > > source, ::rtc::Thread *worker_thread)
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