LeviLamina
Loading...
Searching...
No Matches
VideoTrackSource.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/VideoSourceInterface.h"
8#include "mc/external/webrtc/MediaSourceInterface.h"
9#include "mc/external/webrtc/Notifier.h"
10#include "mc/external/webrtc/VideoTrackSourceInterface.h"
11
12// auto generated forward declare list
13// clang-format off
14namespace rtc { struct VideoSinkWants; }
15namespace webrtc { class RecordableEncodedFrame; }
16namespace webrtc { class VideoFrame; }
17// clang-format on
18
19namespace webrtc {
20
21class VideoTrackSource : public ::webrtc::Notifier<::webrtc::VideoTrackSourceInterface> {
22public:
23 // member variables
24 // NOLINTBEGIN
29 // NOLINTEND
30
31public:
32 // prevent constructor by default
33 VideoTrackSource& operator=(VideoTrackSource const&);
36
37public:
38 // virtual functions
39 // NOLINTBEGIN
40 // vIndex: 3
41 virtual ::webrtc::MediaSourceInterface::SourceState state() const /*override*/;
42
43 // vIndex: 4
44 virtual bool remote() const /*override*/;
45
46 // vIndex: 5
47 virtual bool is_screencast() const /*override*/;
48
49 // vIndex: 6
50 virtual ::std::optional<bool> needs_denoising() const /*override*/;
51
52 // vIndex: 7
53 virtual bool GetStats(::webrtc::VideoTrackSourceInterface::Stats* stats) /*override*/;
54
55 // vIndex: 1
56 virtual void AddOrUpdateSink(
58 ::rtc::VideoSinkWants const& wants
59 ) /*override*/;
60
61 // vIndex: 2
62 virtual void RemoveSink(::rtc::VideoSinkInterface<::webrtc::VideoFrame>* sink) /*override*/;
63
64 // vIndex: 8
65 virtual bool SupportsEncodedOutput() const /*override*/;
66
67 // vIndex: 9
68 virtual void GenerateKeyFrame() /*override*/;
69
70 // vIndex: 10
71 virtual void AddEncodedSink(::rtc::VideoSinkInterface<::webrtc::RecordableEncodedFrame>* sink) /*override*/;
72
73 // vIndex: 11
74 virtual void RemoveEncodedSink(::rtc::VideoSinkInterface<::webrtc::RecordableEncodedFrame>* sink) /*override*/;
75
76 // vIndex: 13
77 virtual ::rtc::VideoSourceInterface<::webrtc::VideoFrame>* source() = 0;
78
79 // vIndex: 0
80 virtual ~VideoTrackSource() /*override*/;
81 // NOLINTEND
82
83public:
84 // member functions
85 // NOLINTBEGIN
86 MCNAPI void SetState(::webrtc::MediaSourceInterface::SourceState new_state);
87
88 MCNAPI explicit VideoTrackSource(bool remote);
89 // NOLINTEND
90
91public:
92 // constructor thunks
93 // NOLINTBEGIN
94 MCNAPI void* $ctor(bool remote);
95 // NOLINTEND
96
97public:
98 // destructor thunk
99 // NOLINTBEGIN
100 MCNAPI void $dtor();
101 // NOLINTEND
102
103public:
104 // virtual function thunks
105 // NOLINTBEGIN
106 MCNAPI ::webrtc::MediaSourceInterface::SourceState $state() const;
107
108 MCNAPI bool $remote() const;
109
110 MCNAPI bool $is_screencast() const;
111
112 MCNAPI ::std::optional<bool> $needs_denoising() const;
113
115
116 MCNAPI void
118
120
121 MCNAPI bool $SupportsEncodedOutput() const;
122
123 MCNAPI void $GenerateKeyFrame();
124
126
128 // NOLINTEND
129
130public:
131 // vftables
132 // NOLINTBEGIN
133 MCNAPI static void** $vftable();
134
135 MCNAPI static void** $vftableForRefCountInterface();
136
137 MCNAPI static void** $vftableForNotifierInterface();
138 // NOLINTEND
139};
140
141} // namespace webrtc
Definition VideoSinkInterface.h:8
Definition Notifier.h:8
Definition VideoTrackSource.h:21
MCAPI void * $ctor(bool remote)
MCAPI VideoTrackSource(bool remote)
MCAPI void $AddEncodedSink(::rtc::VideoSinkInterface<::webrtc::RecordableEncodedFrame > *sink)
MCAPI bool $remote() const
MCAPI void SetState(::webrtc::MediaSourceInterface::SourceState new_state)
MCAPI void $RemoveEncodedSink(::rtc::VideoSinkInterface<::webrtc::RecordableEncodedFrame > *sink)
MCAPI bool $GetStats(::webrtc::VideoTrackSourceInterface::Stats *stats)
MCAPI bool $is_screencast() const
static MCAPI void ** $vftableForNotifierInterface()
MCAPI void $GenerateKeyFrame()
MCAPI void $AddOrUpdateSink(::rtc::VideoSinkInterface<::webrtc::VideoFrame > *sink, ::rtc::VideoSinkWants const &wants)
static MCAPI void ** $vftable()
MCAPI::webrtc::MediaSourceInterface::SourceState $state() const
MCAPI ::std::optional< bool > $needs_denoising() const
static MCAPI void ** $vftableForRefCountInterface()
MCAPI bool $SupportsEncodedOutput() const
MCAPI void $RemoveSink(::rtc::VideoSinkInterface<::webrtc::VideoFrame > *sink)
Definition Alias.h:14
Definition VideoSinkWants.h:7
Definition VideoTrackSourceInterface.h:28