LeviLamina
Loading...
Searching...
No Matches
RtpRtcpInterface.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/external/webrtc/RTCPPacketType.h"
7#include "mc/external/webrtc/RtcpFeedbackSenderInterface.h"
8#include "mc/external/webrtc/RtcpMode.h"
9#include "mc/external/webrtc/RtpSequenceNumberMap.h"
10
11// auto generated forward declare list
12// clang-format off
13namespace webrtc { class RTPSender; }
14namespace webrtc { class ReportBlockData; }
15namespace webrtc { class RtpPacketToSend; }
16namespace webrtc { class RtpSendRates; }
17namespace webrtc { class TimeDelta; }
18namespace webrtc { class VideoBitrateAllocation; }
19namespace webrtc { struct FecProtectionParams; }
20namespace webrtc { struct PacedPacketInfo; }
21namespace webrtc { struct RtpState; }
22namespace webrtc { struct StreamDataCounters; }
23// clang-format on
24
25namespace webrtc {
26
28public:
29 // RtpRtcpInterface inner types declare
30 // clang-format off
31 struct Configuration;
32 struct NonSenderRttStats;
33 struct SenderReportStats;
34 // clang-format on
35
36 // RtpRtcpInterface inner types define
38 public:
39 // member variables
40 // NOLINTBEGIN
77 // NOLINTEND
78
79 public:
80 // prevent constructor by default
81 Configuration& operator=(Configuration const&);
84
85 public:
86 // member functions
87 // NOLINTBEGIN
89 // NOLINTEND
90
91 public:
92 // destructor thunk
93 // NOLINTBEGIN
94 MCNAPI void $dtor();
95 // NOLINTEND
96 };
97
99 public:
100 // member variables
101 // NOLINTBEGIN
108 // NOLINTEND
109
110 public:
111 // prevent constructor by default
112 SenderReportStats& operator=(SenderReportStats const&);
115 };
116
118 public:
119 // member variables
120 // NOLINTBEGIN
124 // NOLINTEND
125
126 public:
127 // prevent constructor by default
128 NonSenderRttStats& operator=(NonSenderRttStats const&);
131 };
132
133public:
134 // virtual functions
135 // NOLINTBEGIN
136 // vIndex: 4
137 virtual void IncomingRtcpPacket(::rtc::ArrayView<uchar const>) = 0;
138
139 // vIndex: 5
140 virtual void SetRemoteSSRC(uint) = 0;
141
142 // vIndex: 6
143 virtual void SetLocalSsrc(uint) = 0;
144
145 // vIndex: 7
146 virtual void SetMaxRtpPacketSize(uint64) = 0;
147
148 // vIndex: 8
149 virtual uint64 MaxRtpPacketSize() const = 0;
150
151 // vIndex: 9
152 virtual void RegisterSendPayloadFrequency(int, int) = 0;
153
154 // vIndex: 10
155 virtual int DeRegisterSendPayload(char) = 0;
156
157 // vIndex: 11
158 virtual void SetExtmapAllowMixed(bool) = 0;
159
160 // vIndex: 12
161 virtual void RegisterRtpHeaderExtension(::std::string_view, int) = 0;
162
163 // vIndex: 13
164 virtual void DeregisterSendRtpHeaderExtension(::std::string_view) = 0;
165
166 // vIndex: 14
167 virtual bool SupportsPadding() const = 0;
168
169 // vIndex: 15
170 virtual bool SupportsRtxPayloadPadding() const = 0;
171
172 // vIndex: 16
173 virtual uint StartTimestamp() const = 0;
174
175 // vIndex: 17
176 virtual void SetStartTimestamp(uint) = 0;
177
178 // vIndex: 18
179 virtual ushort SequenceNumber() const = 0;
180
181 // vIndex: 19
182 virtual void SetSequenceNumber(ushort) = 0;
183
184 // vIndex: 20
185 virtual void SetRtpState(::webrtc::RtpState const&) = 0;
186
187 // vIndex: 21
188 virtual void SetRtxState(::webrtc::RtpState const&) = 0;
189
190 // vIndex: 22
191 virtual ::webrtc::RtpState GetRtpState() const = 0;
192
193 // vIndex: 23
194 virtual ::webrtc::RtpState GetRtxState() const = 0;
195
196 // vIndex: 24
197 virtual void SetNonSenderRttMeasurement(bool) = 0;
198
199 // vIndex: 25
200 virtual uint SSRC() const = 0;
201
202 // vIndex: 26
203 virtual void SetMid(::std::string_view) = 0;
204
205 // vIndex: 27
206 virtual void SetRtxSendStatus(int) = 0;
207
208 // vIndex: 28
209 virtual int RtxSendStatus() const = 0;
210
211 // vIndex: 29
212 virtual ::std::optional<uint> RtxSsrc() const = 0;
213
214 // vIndex: 30
215 virtual void SetRtxSendPayloadType(int, int) = 0;
216
217 // vIndex: 31
218 virtual ::std::optional<uint> FlexfecSsrc() const = 0;
219
220 // vIndex: 32
221 virtual int SetSendingStatus(bool) = 0;
222
223 // vIndex: 33
224 virtual bool Sending() const = 0;
225
226 // vIndex: 34
227 virtual void SetSendingMediaStatus(bool) = 0;
228
229 // vIndex: 35
230 virtual bool SendingMedia() const = 0;
231
232 // vIndex: 36
233 virtual bool IsAudioConfigured() const = 0;
234
235 // vIndex: 37
236 virtual void SetAsPartOfAllocation(bool) = 0;
237
238 // vIndex: 38
239 virtual ::webrtc::RtpSendRates GetSendRates() const = 0;
240
241 // vIndex: 40
242 virtual ::webrtc::RTPSender* RtpSender() = 0;
243
244 // vIndex: 39
245 virtual ::webrtc::RTPSender const* RtpSender() const = 0;
246
247 // vIndex: 41
248 virtual bool OnSendingRtpFrame(uint, int64, int, bool) = 0;
249
250 // vIndex: 42
251 virtual bool TrySendPacket(::std::unique_ptr<::webrtc::RtpPacketToSend>, ::webrtc::PacedPacketInfo const&) = 0;
252
253 // vIndex: 43
254 virtual bool CanSendPacket(::webrtc::RtpPacketToSend const&) const = 0;
255
256 // vIndex: 44
257 virtual void AssignSequenceNumber(::webrtc::RtpPacketToSend&) = 0;
258
259 // vIndex: 45
260 virtual void SendPacket(::std::unique_ptr<::webrtc::RtpPacketToSend>, ::webrtc::PacedPacketInfo const&) = 0;
261
262 // vIndex: 46
263 virtual void OnBatchComplete() = 0;
264
265 // vIndex: 47
266 virtual void SetFecProtectionParams(::webrtc::FecProtectionParams const&, ::webrtc::FecProtectionParams const&) = 0;
267
268 // vIndex: 48
269 virtual ::std::vector<::std::unique_ptr<::webrtc::RtpPacketToSend>> FetchFecPackets() = 0;
270
271 // vIndex: 49
272 virtual void OnAbortedRetransmissions(::rtc::ArrayView<ushort const>) = 0;
273
274 // vIndex: 50
275 virtual void OnPacketsAcknowledged(::rtc::ArrayView<ushort const>) = 0;
276
277 // vIndex: 51
278 virtual ::std::vector<::std::unique_ptr<::webrtc::RtpPacketToSend>> GeneratePadding(uint64) = 0;
279
280 // vIndex: 52
281 virtual ::std::vector<::webrtc::RtpSequenceNumberMap::Info>
282 GetSentRtpPacketInfos(::rtc::ArrayView<ushort const>) const = 0;
283
284 // vIndex: 53
285 virtual uint64 ExpectedPerPacketOverhead() const = 0;
286
287 // vIndex: 54
288 virtual void OnPacketSendingThreadSwitched() = 0;
289
290 // vIndex: 55
291 virtual ::webrtc::RtcpMode RTCP() const = 0;
292
293 // vIndex: 56
294 virtual void SetRTCPStatus(::webrtc::RtcpMode) = 0;
295
296 // vIndex: 57
297 virtual int SetCNAME(::std::string_view) = 0;
298
299 // vIndex: 58
300 virtual ::std::optional<::webrtc::TimeDelta> LastRtt() const = 0;
301
302 // vIndex: 59
303 virtual ::webrtc::TimeDelta ExpectedRetransmissionTime() const = 0;
304
305 // vIndex: 60
306 virtual int SendRTCP(::webrtc::RTCPPacketType) = 0;
307
308 // vIndex: 61
309 virtual void GetSendStreamDataCounters(::webrtc::StreamDataCounters*, ::webrtc::StreamDataCounters*) const = 0;
310
311 // vIndex: 62
312 virtual ::std::vector<::webrtc::ReportBlockData> GetLatestReportBlockData() const = 0;
313
314 // vIndex: 63
315 virtual ::std::optional<::webrtc::RtpRtcpInterface::SenderReportStats> GetSenderReportStats() const = 0;
316
317 // vIndex: 64
318 virtual ::std::optional<::webrtc::RtpRtcpInterface::NonSenderRttStats> GetNonSenderRttStats() const = 0;
319
320 // vIndex: 2
321 virtual void SetRemb(int64, ::std::vector<uint>) = 0;
322
323 // vIndex: 3
324 virtual void UnsetRemb() = 0;
325
326 // vIndex: 65
327 virtual int SendNACK(ushort const*, ushort) = 0;
328
329 // vIndex: 66
330 virtual void SendNack(::std::vector<ushort> const&) = 0;
331
332 // vIndex: 67
333 virtual void SetStorePacketsStatus(bool, ushort) = 0;
334
335 // vIndex: 68
336 virtual void SetVideoBitrateAllocation(::webrtc::VideoBitrateAllocation const&) = 0;
337
338 // vIndex: 69
339 virtual int SendLossNotification(ushort, ushort, bool, bool) = 0;
340
341 // vIndex: 0
342 virtual ~RtpRtcpInterface() /*override*/ = default;
343 // NOLINTEND
344
345public:
346 // virtual function thunks
347 // NOLINTBEGIN
348
349 // NOLINTEND
350};
351
352} // namespace webrtc
Definition _HeaderOutputPredefine.h:260
Definition RtcpFeedbackSenderInterface.h:12
Definition RtpPacketToSend.h:16
Definition RtpRtcpInterface.h:27
Definition VideoBitrateAllocation.h:7
Definition Alias.h:14
Definition FecProtectionParams.h:7
Definition PacedPacketInfo.h:7
Definition RtpRtcpInterface.h:37
Definition RtpRtcpInterface.h:117
Definition RtpRtcpInterface.h:98
Definition RtpState.h:7
Definition StreamDataCounters.h:7