LeviLamina
Loading...
Searching...
No Matches
RTCPSender.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/external/rtc/FunctionView.h"
7#include "mc/external/webrtc/RTCPPacketType.h"
8#include "mc/external/webrtc/RtcpMode.h"
9#include "mc/external/webrtc/RtpRtcpInterface.h"
10
11// auto generated forward declare list
12// clang-format off
13namespace webrtc { class DataRate; }
14namespace webrtc { class TimeDelta; }
15namespace webrtc { class Timestamp; }
16namespace webrtc { class VideoBitrateAllocation; }
17namespace webrtc::rtcp { class ReportBlock; }
18namespace webrtc::rtcp { class RtcpPacket; }
19namespace webrtc::rtcp { class TmmbItem; }
20// clang-format on
21
22namespace webrtc {
23
25public:
26 // RTCPSender inner types declare
27 // clang-format off
28 struct Configuration;
29 struct FeedbackState;
30 class PacketSender;
31 class RtcpContext;
32 // clang-format on
33
34 // RTCPSender inner types define
36 public:
37 // member functions
38 // NOLINTBEGIN
39 MCAPI ~Configuration();
40 // NOLINTEND
41
42 public:
43 // static functions
44 // NOLINTBEGIN
45 MCAPI static ::webrtc::RTCPSender::Configuration
46 FromRtpRtcpConfiguration(::webrtc::RtpRtcpInterface::Configuration const&);
47 // NOLINTEND
48
49 public:
50 // destructor thunk
51 // NOLINTBEGIN
52 MCAPI void $dtor();
53 // NOLINTEND
54 };
55
57 public:
58 // member functions
59 // NOLINTBEGIN
60 MCAPI FeedbackState();
61
62 MCAPI ~FeedbackState();
63 // NOLINTEND
64
65 public:
66 // constructor thunks
67 // NOLINTBEGIN
68 MCAPI void* $ctor();
69 // NOLINTEND
70
71 public:
72 // destructor thunk
73 // NOLINTBEGIN
74 MCAPI void $dtor();
75 // NOLINTEND
76 };
77
79 public:
80 // member functions
81 // NOLINTBEGIN
83
84 MCAPI ~PacketSender();
85 // NOLINTEND
86
87 public:
88 // constructor thunks
89 // NOLINTBEGIN
90 MCAPI void* $ctor(::rtc::FunctionView<void(::rtc::ArrayView<uchar const>)>, uint64);
91 // NOLINTEND
92
93 public:
94 // destructor thunk
95 // NOLINTBEGIN
96 MCAPI void $dtor();
97 // NOLINTEND
98 };
99
100 class RtcpContext {};
101
102public:
103 // member functions
104 // NOLINTBEGIN
105 MCAPI bool AllVolatileFlagsConsumed() const;
106
108
109 MCAPI void BuildExtendedReports(::webrtc::RTCPSender::RtcpContext const&, ::webrtc::RTCPSender::PacketSender&);
110
112
113 MCAPI void BuildLossNotification(::webrtc::RTCPSender::RtcpContext const&, ::webrtc::RTCPSender::PacketSender&);
114
116
118
120
122
124
126
128
130
131 MCAPI ::std::optional<::webrtc::VideoBitrateAllocation>
132 CheckAndUpdateLayerStructure(::webrtc::VideoBitrateAllocation const&) const;
133
134 MCAPI ::std::optional<int>
135 ComputeCompoundRTCPPacket(::webrtc::RTCPSender::FeedbackState const&, ::webrtc::RTCPPacketType, int, ushort const*, ::webrtc::RTCPSender::PacketSender&);
136
137 MCAPI ::webrtc::TimeDelta ComputeTimeUntilNextReport(::webrtc::DataRate);
138
139 MCAPI bool ConsumeFlag(uint, bool);
140
141 MCAPI ::std::vector<::webrtc::rtcp::ReportBlock> CreateReportBlocks(::webrtc::RTCPSender::FeedbackState const&);
142
143 MCAPI bool IsFlagPresent(uint) const;
144
145 MCAPI void PrepareReport(::webrtc::RTCPSender::FeedbackState const&);
146
148
149 MCAPI uint SSRC() const;
150
151 MCAPI void SendCombinedRtcpPacket(::std::vector<::std::unique_ptr<::webrtc::rtcp::RtcpPacket>>);
152
153 MCAPI int SendLossNotification(::webrtc::RTCPSender::FeedbackState const&, ushort, ushort, bool, bool);
154
155 MCAPI int SendRTCP(::webrtc::RTCPSender::FeedbackState const&, ::webrtc::RTCPPacketType, int, ushort const*);
156
157 MCAPI bool Sending() const;
158
159 MCAPI int SetCNAME(::std::string_view);
160
161 MCAPI void SetFlag(uint, bool);
162
163 MCAPI void SetLastRtpTime(uint, ::std::optional<::webrtc::Timestamp>, ::std::optional<schar>);
164
165 MCAPI void SetMaxRtpPacketSize(uint64);
166
167 MCAPI void SetNextRtcpSendEvaluationDuration(::webrtc::TimeDelta);
168
169 MCAPI void SetNonSenderRttMeasurement(bool);
170
171 MCAPI void SetRTCPStatus(::webrtc::RtcpMode);
172
173 MCAPI void SetRemb(int64, ::std::vector<uint>);
174
175 MCAPI void SetRemoteSSRC(uint);
176
177 MCAPI void SetRtpClockRate(schar, int);
178
179 MCAPI void SetSendingStatus(::webrtc::RTCPSender::FeedbackState const&, bool);
180
181 MCAPI void SetSsrc(uint);
182
183 MCAPI void SetTimestampOffset(uint);
184
185 MCAPI void SetTmmbn(::std::vector<::webrtc::rtcp::TmmbItem>);
186
187 MCAPI void SetVideoBitrateAllocation(::webrtc::VideoBitrateAllocation const&);
188
189 MCAPI ::webrtc::RtcpMode Status() const;
190
191 MCAPI bool TimeToSendRTCPReport(bool) const;
192
193 MCAPI void UnsetRemb();
194 // NOLINTEND
195
196public:
197 // constructor thunks
198 // NOLINTBEGIN
199 MCAPI void* $ctor(::webrtc::RTCPSender::Configuration);
200 // NOLINTEND
201
202public:
203 // vftables
204 // NOLINTBEGIN
205 MCAPI static void** $vftable();
206 // NOLINTEND
207};
208
209} // namespace webrtc
Definition _HeaderOutputPredefine.h:238
Definition FunctionView.h:8
Definition DataRate.h:10
Definition RTCPSender.h:78
Definition RTCPSender.h:100
Definition RTCPSender.h:24
Definition TimeDelta.h:10
Definition VideoBitrateAllocation.h:7
Definition RTCPSender.h:35
Definition RTCPSender.h:56
Definition RtpRtcpInterface.h:16