LeviLamina
Loading...
Searching...
No Matches
VideoTrack.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
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"
14
15// auto generated forward declare list
16// clang-format off
17namespace rtc { class Thread; }
18namespace rtc { struct VideoSinkWants; }
19namespace webrtc { class VideoFrame; }
20namespace webrtc { class VideoTrackSourceInterface; }
21// clang-format on
22
23namespace webrtc {
24
25class VideoTrack : public ::webrtc::MediaStreamTrack<::webrtc::VideoTrackInterface>,
28public:
29 // member variables
30 // NOLINTBEGIN
36 // NOLINTEND
37
38public:
39 // prevent constructor by default
40 VideoTrack& operator=(VideoTrack const&);
41 VideoTrack(VideoTrack const&);
42 VideoTrack();
43
44public:
45 // virtual functions
46 // NOLINTBEGIN
47 // vIndex: 1
48 virtual void AddOrUpdateSink(
50 ::rtc::VideoSinkWants const& wants
51 ) /*override*/;
52
53 // vIndex: 2
54 virtual void RemoveSink(::rtc::VideoSinkInterface<::webrtc::VideoFrame>* sink) /*override*/;
55
56 // vIndex: 3
57 virtual void RequestRefreshFrame() /*override*/;
58
59 // vIndex: 8
60 virtual ::webrtc::VideoTrackSourceInterface* GetSource() const /*override*/;
61
62 // vIndex: 9
63 virtual ::webrtc::VideoTrackInterface::ContentHint content_hint() const /*override*/;
64
65 // vIndex: 10
66 virtual void set_content_hint(::webrtc::VideoTrackInterface::ContentHint hint) /*override*/;
67
68 // vIndex: 6
69 virtual bool set_enabled(bool enable) /*override*/;
70
71 // vIndex: 5
72 virtual bool enabled() const /*override*/;
73
74 // vIndex: 7
75 virtual ::webrtc::MediaStreamTrackInterface::TrackState state() const /*override*/;
76
77 // vIndex: 3
78 virtual ::std::string kind() const /*override*/;
79
80 // vIndex: 1
81 virtual ~VideoTrack() /*override*/;
82
83 // vIndex: 0
84 virtual void OnChanged() /*override*/;
85 // NOLINTEND
86
87public:
88 // member functions
89 // NOLINTBEGIN
90 MCNAPI VideoTrack(
91 ::std::string_view label,
93 source,
94 ::rtc::Thread* worker_thread
95 );
96 // NOLINTEND
97
98public:
99 // static functions
100 // NOLINTBEGIN
101 MCNAPI static ::webrtc::scoped_refptr<::webrtc::VideoTrack> Create(
102 ::std::string_view id,
104 ::rtc::Thread* worker_thread
105 );
106 // NOLINTEND
107
108public:
109 // constructor thunks
110 // NOLINTBEGIN
111 MCNAPI void* $ctor(
112 ::std::string_view label,
114 source,
115 ::rtc::Thread* worker_thread
116 );
117 // NOLINTEND
118
119public:
120 // destructor thunk
121 // NOLINTBEGIN
122 MCNAPI void $dtor();
123 // NOLINTEND
124
125public:
126 // virtual function thunks
127 // NOLINTBEGIN
128 MCNAPI void
130
132
133 MCNAPI void $RequestRefreshFrame();
134
135 MCNAPI ::webrtc::VideoTrackSourceInterface* $GetSource() const;
136
137 MCNAPI ::webrtc::VideoTrackInterface::ContentHint $content_hint() const;
138
139 MCNAPI void $set_content_hint(::webrtc::VideoTrackInterface::ContentHint hint);
140
141 MCNAPI bool $set_enabled(bool enable);
142
143 MCNAPI bool $enabled() const;
144
145 MCNAPI ::webrtc::MediaStreamTrackInterface::TrackState $state() const;
146
147 MCNAPI ::std::string $kind() const;
148
149 MCNAPI void $OnChanged();
150 // NOLINTEND
151
152public:
153 // vftables
154 // NOLINTBEGIN
155 MCNAPI static void** $vftableForNotifierInterface();
156
157 MCNAPI static void** $vftableForObserverInterface();
158
159 MCNAPI static void** $vftableForVideoSourceBaseGuarded();
160
161 MCNAPI static void** $vftableForRefCountInterface();
162
163 MCNAPI static void** $vftableForMediaStreamTrack();
164 // NOLINTEND
165};
166
167} // namespace webrtc
Definition Thread.h:20
Definition VideoSinkInterface.h:8
Definition VideoSourceBaseGuarded.h:17
Definition MediaStreamTrack.h:8
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 $OnChanged()
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)
MCAPI void $dtor()
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 Alias.h:14
Definition VideoSinkWants.h:7