LeviLamina
Loading...
Searching...
No Matches
UlpfecGenerator.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/external/webrtc/VideoFecGenerator.h"
7
8// auto generated forward declare list
9// clang-format off
10namespace webrtc { class Clock; }
11namespace webrtc { class DataRate; }
12namespace webrtc { class ForwardErrorCorrection; }
13namespace webrtc { class RtpPacketToSend; }
14namespace webrtc { struct FecProtectionParams; }
15namespace webrtc { struct RtpState; }
16// clang-format on
17
18namespace webrtc {
19
21public:
22 // UlpfecGenerator inner types declare
23 // clang-format off
24 struct Params;
25 // clang-format on
26
27 // UlpfecGenerator inner types define
28 struct Params {
29 public:
30 // member variables
31 // NOLINTBEGIN
34 // NOLINTEND
35
36 public:
37 // prevent constructor by default
38 Params& operator=(Params const&);
39 Params(Params const&);
40
41 public:
42 // member functions
43 // NOLINTBEGIN
44 MCNAPI Params();
45
47 // NOLINTEND
48
49 public:
50 // constructor thunks
51 // NOLINTBEGIN
52 MCNAPI void* $ctor();
53
54 MCNAPI void* $ctor(::webrtc::FecProtectionParams delta_params, ::webrtc::FecProtectionParams keyframe_params);
55 // NOLINTEND
56 };
57
58public:
59 // member variables
60 // NOLINTBEGIN
76 // NOLINTEND
77
78public:
79 // prevent constructor by default
80 UlpfecGenerator& operator=(UlpfecGenerator const&);
83
84public:
85 // virtual functions
86 // NOLINTBEGIN
87 // vIndex: 0
88 virtual ~UlpfecGenerator() /*override*/;
89
90 // vIndex: 1
91 virtual ::webrtc::VideoFecGenerator::FecType GetFecType() const /*override*/;
92
93 // vIndex: 2
94 virtual ::std::optional<uint> FecSsrc() /*override*/;
95
96 // vIndex: 5
97 virtual void SetProtectionParameters(
98 ::webrtc::FecProtectionParams const& delta_params,
99 ::webrtc::FecProtectionParams const& key_params
100 ) /*override*/;
101
102 // vIndex: 6
103 virtual void AddPacketAndGenerateFec(::webrtc::RtpPacketToSend const& packet) /*override*/;
104
105 // vIndex: 3
106 virtual uint64 MaxPacketOverhead() const /*override*/;
107
108 // vIndex: 7
109 virtual ::std::vector<::std::unique_ptr<::webrtc::RtpPacketToSend>> GetFecPackets() /*override*/;
110
111 // vIndex: 4
112 virtual ::webrtc::DataRate CurrentFecRate() const /*override*/;
113
114 // vIndex: 8
115 virtual ::std::optional<::webrtc::RtpState> GetRtpState() /*override*/;
116 // NOLINTEND
117
118public:
119 // member functions
120 // NOLINTBEGIN
121 MCNAPI ::webrtc::FecProtectionParams const& CurrentParams() const;
122
123 MCNAPI bool ExcessOverheadBelowMax() const;
124
125 MCNAPI bool MinimumMediaPacketsReached() const;
126
127 MCNAPI int Overhead() const;
128
129 MCNAPI void ResetState();
130
131 MCNAPI UlpfecGenerator(::std::unique_ptr<::webrtc::ForwardErrorCorrection> fec, ::webrtc::Clock* clock);
132
133 MCNAPI UlpfecGenerator(int red_payload_type, int ulpfec_payload_type, ::webrtc::Clock* clock);
134 // NOLINTEND
135
136public:
137 // constructor thunks
138 // NOLINTBEGIN
139 MCNAPI void* $ctor(::std::unique_ptr<::webrtc::ForwardErrorCorrection> fec, ::webrtc::Clock* clock);
140
141 MCNAPI void* $ctor(int red_payload_type, int ulpfec_payload_type, ::webrtc::Clock* clock);
142 // NOLINTEND
143
144public:
145 // destructor thunk
146 // NOLINTBEGIN
147 MCNAPI void $dtor();
148 // NOLINTEND
149
150public:
151 // virtual function thunks
152 // NOLINTBEGIN
153 MCNAPI ::webrtc::VideoFecGenerator::FecType $GetFecType() const;
154
155 MCNAPI ::std::optional<uint> $FecSsrc();
156
158 ::webrtc::FecProtectionParams const& delta_params,
159 ::webrtc::FecProtectionParams const& key_params
160 );
161
162 MCNAPI void $AddPacketAndGenerateFec(::webrtc::RtpPacketToSend const& packet);
163
164 MCNAPI uint64 $MaxPacketOverhead() const;
165
166 MCNAPI ::std::vector<::std::unique_ptr<::webrtc::RtpPacketToSend>> $GetFecPackets();
167
168 MCNAPI ::webrtc::DataRate $CurrentFecRate() const;
169
170 MCNAPI ::std::optional<::webrtc::RtpState> $GetRtpState();
171 // NOLINTEND
172
173public:
174 // vftables
175 // NOLINTBEGIN
176 MCNAPI static void** $vftable();
177 // NOLINTEND
178};
179
180} // namespace webrtc
Definition Clock.h:13
Definition DataRate.h:10
Definition ForwardErrorCorrection.h:16
Definition RtpPacketToSend.h:16
Definition UlpfecGenerator.h:20
MCAPI void $SetProtectionParameters(::webrtc::FecProtectionParams const &delta_params, ::webrtc::FecProtectionParams const &key_params)
MCAPI bool MinimumMediaPacketsReached() const
MCAPI ::std::optional< uint > $FecSsrc()
MCAPI void * $ctor(::std::unique_ptr<::webrtc::ForwardErrorCorrection > fec, ::webrtc::Clock *clock)
static MCAPI void ** $vftable()
MCAPI ::std::optional<::webrtc::RtpState > $GetRtpState()
MCAPI uint64 $MaxPacketOverhead() const
MCAPI::webrtc::FecProtectionParams const & CurrentParams() const
MCAPI int Overhead() const
MCAPI::webrtc::DataRate $CurrentFecRate() const
MCAPI ::std::vector<::std::unique_ptr<::webrtc::RtpPacketToSend > > $GetFecPackets()
MCAPI void $AddPacketAndGenerateFec(::webrtc::RtpPacketToSend const &packet)
MCAPI::webrtc::VideoFecGenerator::FecType $GetFecType() const
MCAPI bool ExcessOverheadBelowMax() const
Definition VideoFecGenerator.h:15
STL namespace.
Definition Alias.h:14
Definition FecProtectionParams.h:7
Definition RtpState.h:7
Definition UlpfecGenerator.h:28
MCAPI void * $ctor(::webrtc::FecProtectionParams delta_params, ::webrtc::FecProtectionParams keyframe_params)
MCAPI Params(::webrtc::FecProtectionParams delta_params, ::webrtc::FecProtectionParams keyframe_params)