LeviLamina
Loading...
Searching...
No Matches
RtpTransceiver.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/external/cricket/MediaType.h"
7#include "mc/external/webrtc/RtpReceiverProxyWithInternal.h"
8#include "mc/external/webrtc/RtpSenderProxyWithInternal.h"
9#include "mc/external/webrtc/RtpTransceiverDirection.h"
10#include "mc/external/webrtc/RtpTransceiverInterface.h"
11#include "mc/external/webrtc/SdpType.h"
12#include "mc/external/webrtc/scoped_refptr.h"
13
14// auto generated forward declare list
15// clang-format off
16namespace cricket { class ChannelInterface; }
17namespace cricket { class MediaContentDescription; }
18namespace cricket { struct AudioOptions; }
19namespace cricket { struct MediaConfig; }
20namespace cricket { struct VideoOptions; }
21namespace webrtc { class Call; }
22namespace webrtc { class ConnectionContext; }
23namespace webrtc { class RTCError; }
24namespace webrtc { class RtpReceiverInterface; }
25namespace webrtc { class RtpReceiverInternal; }
26namespace webrtc { class RtpSenderInterface; }
27namespace webrtc { class RtpSenderInternal; }
28namespace webrtc { class RtpTransportInternal; }
29namespace webrtc { class VideoBitrateAllocatorFactory; }
30namespace webrtc { struct CryptoOptions; }
31namespace webrtc { struct RtpCodecCapability; }
32namespace webrtc { struct RtpHeaderExtensionCapability; }
33// clang-format on
34
35namespace webrtc {
36
38public:
39 // member variables
40 // NOLINTBEGIN
64 // NOLINTEND
65
66public:
67 // prevent constructor by default
68 RtpTransceiver& operator=(RtpTransceiver const&);
71
72public:
73 // virtual functions
74 // NOLINTBEGIN
75 // vIndex: 2
76 virtual ~RtpTransceiver() /*override*/;
77
78 // vIndex: 3
79 virtual ::cricket::MediaType media_type() const /*override*/;
80
81 // vIndex: 4
82 virtual ::std::optional<::std::string> mid() const /*override*/;
83
84 // vIndex: 5
85 virtual ::webrtc::scoped_refptr<::webrtc::RtpSenderInterface> sender() const /*override*/;
86
87 // vIndex: 6
88 virtual ::webrtc::scoped_refptr<::webrtc::RtpReceiverInterface> receiver() const /*override*/;
89
90 // vIndex: 7
91 virtual bool stopped() const /*override*/;
92
93 // vIndex: 8
94 virtual bool stopping() const /*override*/;
95
96 // vIndex: 9
97 virtual ::webrtc::RtpTransceiverDirection direction() const /*override*/;
98
99 // vIndex: 11
100 virtual ::webrtc::RTCError SetDirectionWithError(::webrtc::RtpTransceiverDirection new_direction) /*override*/;
101
102 // vIndex: 12
103 virtual ::std::optional<::webrtc::RtpTransceiverDirection> current_direction() const /*override*/;
104
105 // vIndex: 13
106 virtual ::std::optional<::webrtc::RtpTransceiverDirection> fired_direction() const /*override*/;
107
108 // vIndex: 14
109 virtual ::webrtc::RTCError StopStandard() /*override*/;
110
111 // vIndex: 15
112 virtual void StopInternal() /*override*/;
113
114 // vIndex: 17
115 virtual ::webrtc::RTCError
116 SetCodecPreferences(::rtc::ArrayView<::webrtc::RtpCodecCapability> codec_capabilities) /*override*/;
117
118 // vIndex: 18
119 virtual ::std::vector<::webrtc::RtpCodecCapability> codec_preferences() const /*override*/;
120
121 // vIndex: 19
122 virtual ::std::vector<::webrtc::RtpHeaderExtensionCapability> GetHeaderExtensionsToNegotiate() const /*override*/;
123
124 // vIndex: 20
125 virtual ::std::vector<::webrtc::RtpHeaderExtensionCapability> GetNegotiatedHeaderExtensions() const /*override*/;
126
127 // vIndex: 21
128 virtual ::webrtc::RTCError SetHeaderExtensionsToNegotiate(
130 ) /*override*/;
131 // NOLINTEND
132
133public:
134 // member functions
135 // NOLINTBEGIN
136 MCNAPI void AddReceiver(
138 );
139
140 MCNAPI void
142
143 MCNAPI void ClearChannel();
144
145 MCNAPI ::webrtc::RTCError CreateChannel(
146 ::std::string_view mid,
147 ::webrtc::Call* call_ptr,
148 ::cricket::MediaConfig const& media_config,
149 bool srtp_required,
150 ::webrtc::CryptoOptions crypto_options,
151 ::cricket::AudioOptions const& audio_options,
152 ::cricket::VideoOptions const& video_options,
153 ::webrtc::VideoBitrateAllocatorFactory* video_bitrate_allocator_factory,
154 ::std::function<::webrtc::RtpTransportInternal*(::std::string_view)> transport_lookup
155 );
156
158
159 MCNAPI void OnNegotiationUpdate(::webrtc::SdpType sdp_type, ::cricket::MediaContentDescription const* content);
160
161 MCNAPI void PushNewMediaChannelAndDeleteChannel(::std::unique_ptr<::cricket::ChannelInterface> channel_to_delete);
162
164
166
167 MCNAPI RtpTransceiver(::cricket::MediaType media_type, ::webrtc::ConnectionContext* context);
168
173 ::std::vector<::webrtc::RtpHeaderExtensionCapability> header_extensions_to_negotiate,
174 ::std::function<void()> on_negotiation_needed
175 );
176
177 MCNAPI void SetChannel(
178 ::std::unique_ptr<::cricket::ChannelInterface> channel,
179 ::std::function<::webrtc::RtpTransportInternal*(::std::string const&)> transport_lookup
180 );
181
183
185
187
188 MCNAPI ::webrtc::scoped_refptr<::webrtc::RtpReceiverInternal> receiver_internal() const;
189
190 MCNAPI ::webrtc::scoped_refptr<::webrtc::RtpSenderInternal> sender_internal() const;
191
192 MCNAPI ::std::vector<::webrtc::scoped_refptr<::webrtc::RtpSenderProxyWithInternal<::webrtc::RtpSenderInternal>>>
193 senders() const;
194
195 MCNAPI void set_current_direction(::webrtc::RtpTransceiverDirection direction);
196
197 MCNAPI void set_fired_direction(::std::optional<::webrtc::RtpTransceiverDirection> direction);
198
199 MCNAPI void set_mid(::std::optional<::std::string> const& mid);
200 // NOLINTEND
201
202public:
203 // constructor thunks
204 // NOLINTBEGIN
205 MCNAPI void* $ctor(::cricket::MediaType media_type, ::webrtc::ConnectionContext* context);
206
207 MCNAPI void* $ctor(
211 ::std::vector<::webrtc::RtpHeaderExtensionCapability> header_extensions_to_negotiate,
212 ::std::function<void()> on_negotiation_needed
213 );
214 // NOLINTEND
215
216public:
217 // destructor thunk
218 // NOLINTBEGIN
219 MCNAPI void $dtor();
220 // NOLINTEND
221
222public:
223 // virtual function thunks
224 // NOLINTBEGIN
225 MCNAPI ::cricket::MediaType $media_type() const;
226
227 MCNAPI ::std::optional<::std::string> $mid() const;
228
229 MCNAPI ::webrtc::scoped_refptr<::webrtc::RtpSenderInterface> $sender() const;
230
231 MCNAPI ::webrtc::scoped_refptr<::webrtc::RtpReceiverInterface> $receiver() const;
232
233 MCNAPI bool $stopped() const;
234
235 MCNAPI bool $stopping() const;
236
237 MCNAPI ::webrtc::RtpTransceiverDirection $direction() const;
238
239 MCNAPI ::webrtc::RTCError $SetDirectionWithError(::webrtc::RtpTransceiverDirection new_direction);
240
241 MCNAPI ::std::optional<::webrtc::RtpTransceiverDirection> $current_direction() const;
242
243 MCNAPI ::std::optional<::webrtc::RtpTransceiverDirection> $fired_direction() const;
244
245 MCNAPI ::webrtc::RTCError $StopStandard();
246
247 MCNAPI void $StopInternal();
248
249 MCNAPI ::webrtc::RTCError $SetCodecPreferences(::rtc::ArrayView<::webrtc::RtpCodecCapability> codec_capabilities);
250
251 MCNAPI ::std::vector<::webrtc::RtpCodecCapability> $codec_preferences() const;
252
253 MCNAPI ::std::vector<::webrtc::RtpHeaderExtensionCapability> $GetHeaderExtensionsToNegotiate() const;
254
255 MCNAPI ::std::vector<::webrtc::RtpHeaderExtensionCapability> $GetNegotiatedHeaderExtensions() const;
256
257 MCNAPI ::webrtc::RTCError
259 // NOLINTEND
260
261public:
262 // vftables
263 // NOLINTBEGIN
264 MCNAPI static void** $vftable();
265 // NOLINTEND
266};
267
268} // namespace webrtc
Definition MediaContentDescription.h:23
Definition _HeaderOutputPredefine.h:260
Definition Call.h:35
Definition ConnectionContext.h:17
Definition RtpReceiverInterface.h:24
Definition RtpReceiverProxyWithInternal.h:8
Definition RtpSenderInterface.h:26
Definition RtpSenderProxyWithInternal.h:8
Definition RtpTransceiverInterface.h:22
Definition RtpTransceiver.h:37
MCAPI::webrtc::RtpTransceiverDirection $direction() const
MCAPI::webrtc::RTCError $SetHeaderExtensionsToNegotiate(::rtc::ArrayView<::webrtc::RtpHeaderExtensionCapability const > header_extensions)
static MCAPI void ** $vftable()
MCAPI RtpTransceiver(::webrtc::scoped_refptr<::webrtc::RtpSenderProxyWithInternal<::webrtc::RtpSenderInternal > > sender, ::webrtc::scoped_refptr<::webrtc::RtpReceiverProxyWithInternal<::webrtc::RtpReceiverInternal > > receiver, ::webrtc::ConnectionContext *context, ::std::vector<::webrtc::RtpHeaderExtensionCapability > header_extensions_to_negotiate, ::std::function< void()> on_negotiation_needed)
MCAPI ::webrtc::scoped_refptr<::webrtc::RtpSenderInternal > sender_internal() const
MCAPI void SetPeerConnectionClosed()
MCAPI bool RemoveSender(::webrtc::RtpSenderInterface *sender)
MCAPI void ClearChannel()
MCAPI ::std::optional<::webrtc::RtpTransceiverDirection > $current_direction() const
MCAPI ::webrtc::scoped_refptr<::webrtc::RtpSenderInterface > $sender() const
MCAPI void StopTransceiverProcedure()
MCAPI::webrtc::RTCError $SetDirectionWithError(::webrtc::RtpTransceiverDirection new_direction)
MCAPI ::std::vector<::webrtc::RtpHeaderExtensionCapability > $GetNegotiatedHeaderExtensions() const
MCAPI ::webrtc::scoped_refptr<::webrtc::RtpReceiverInternal > receiver_internal() const
MCAPI RtpTransceiver(::cricket::MediaType media_type, ::webrtc::ConnectionContext *context)
MCAPI void AddSender(::webrtc::scoped_refptr<::webrtc::RtpSenderProxyWithInternal<::webrtc::RtpSenderInternal > > sender)
MCAPI ::std::vector<::webrtc::RtpHeaderExtensionCapability > $GetHeaderExtensionsToNegotiate() const
MCAPI void set_current_direction(::webrtc::RtpTransceiverDirection direction)
MCAPI void $StopInternal()
MCAPI void * $ctor(::webrtc::scoped_refptr<::webrtc::RtpSenderProxyWithInternal<::webrtc::RtpSenderInternal > > sender, ::webrtc::scoped_refptr<::webrtc::RtpReceiverProxyWithInternal<::webrtc::RtpReceiverInternal > > receiver, ::webrtc::ConnectionContext *context, ::std::vector<::webrtc::RtpHeaderExtensionCapability > header_extensions_to_negotiate, ::std::function< void()> on_negotiation_needed)
MCAPI void PushNewMediaChannelAndDeleteChannel(::std::unique_ptr<::cricket::ChannelInterface > channel_to_delete)
MCAPI bool $stopping() const
MCAPI void set_mid(::std::optional<::std::string > const &mid)
MCAPI::webrtc::RTCError $SetCodecPreferences(::rtc::ArrayView<::webrtc::RtpCodecCapability > codec_capabilities)
MCAPI void * $ctor(::cricket::MediaType media_type, ::webrtc::ConnectionContext *context)
MCAPI void OnFirstPacketReceived()
MCAPI void AddReceiver(::webrtc::scoped_refptr<::webrtc::RtpReceiverProxyWithInternal<::webrtc::RtpReceiverInternal > > receiver)
MCAPI void StopSendingAndReceiving()
MCAPI ::std::vector<::webrtc::scoped_refptr<::webrtc::RtpSenderProxyWithInternal<::webrtc::RtpSenderInternal > > > senders() const
MCAPI::cricket::MediaType $media_type() const
MCAPI bool $stopped() const
MCAPI::webrtc::RTCError $StopStandard()
MCAPI bool RemoveReceiver(::webrtc::RtpReceiverInterface *receiver)
MCAPI ::std::vector<::webrtc::RtpCodecCapability > $codec_preferences() const
MCAPI::webrtc::RTCError CreateChannel(::std::string_view mid, ::webrtc::Call *call_ptr, ::cricket::MediaConfig const &media_config, bool srtp_required, ::webrtc::CryptoOptions crypto_options, ::cricket::AudioOptions const &audio_options, ::cricket::VideoOptions const &video_options, ::webrtc::VideoBitrateAllocatorFactory *video_bitrate_allocator_factory, ::std::function<::webrtc::RtpTransportInternal *(::std::string_view)> transport_lookup)
MCAPI void SetChannel(::std::unique_ptr<::cricket::ChannelInterface > channel, ::std::function<::webrtc::RtpTransportInternal *(::std::string const &)> transport_lookup)
MCAPI ::webrtc::scoped_refptr<::webrtc::RtpReceiverInterface > $receiver() const
MCAPI ::std::optional<::webrtc::RtpTransceiverDirection > $fired_direction() const
MCAPI void set_fired_direction(::std::optional<::webrtc::RtpTransceiverDirection > direction)
MCAPI ::std::optional<::std::string > $mid() const
MCAPI void OnNegotiationUpdate(::webrtc::SdpType sdp_type, ::cricket::MediaContentDescription const *content)
Definition RtpTransportInternal.h:21
Definition VideoBitrateAllocatorFactory.h:13
Definition scoped_refptr.h:8
Definition context.h:5
Definition AudioOptions.h:7
Definition MediaConfig.h:7
Definition VideoOptions.h:7
Definition Alias.h:14
Definition CryptoOptions.h:7