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
37class RtpTransceiver : public ::webrtc::RtpTransceiverInterface {
38public:
39 // member variables
40 // NOLINTBEGIN
64 // NOLINTEND
65
66public:
67 // prevent constructor by default
68 RtpTransceiver& operator=(RtpTransceiver const&);
69 RtpTransceiver(RtpTransceiver const&);
70 RtpTransceiver();
71
72public:
73 // virtual functions
74 // NOLINTBEGIN
75 virtual ~RtpTransceiver() /*override*/;
76
77 virtual ::cricket::MediaType media_type() const /*override*/;
78
79 virtual ::std::optional<::std::string> mid() const /*override*/;
80
81 virtual ::webrtc::scoped_refptr<::webrtc::RtpSenderInterface> sender() const /*override*/;
82
83 virtual ::webrtc::scoped_refptr<::webrtc::RtpReceiverInterface> receiver() const /*override*/;
84
85 virtual bool stopped() const /*override*/;
86
87 virtual bool stopping() const /*override*/;
88
89 virtual ::webrtc::RtpTransceiverDirection direction() const /*override*/;
90
91 virtual ::webrtc::RTCError SetDirectionWithError(::webrtc::RtpTransceiverDirection new_direction) /*override*/;
92
93 virtual ::std::optional<::webrtc::RtpTransceiverDirection> current_direction() const /*override*/;
94
95 virtual ::std::optional<::webrtc::RtpTransceiverDirection> fired_direction() const /*override*/;
96
97 virtual ::webrtc::RTCError StopStandard() /*override*/;
98
99 virtual void StopInternal() /*override*/;
100
101 virtual ::webrtc::RTCError
102 SetCodecPreferences(::rtc::ArrayView<::webrtc::RtpCodecCapability> codec_capabilities) /*override*/;
103
104 virtual ::std::vector<::webrtc::RtpCodecCapability> codec_preferences() const /*override*/;
105
106 virtual ::std::vector<::webrtc::RtpHeaderExtensionCapability> GetHeaderExtensionsToNegotiate() const /*override*/;
107
108 virtual ::std::vector<::webrtc::RtpHeaderExtensionCapability> GetNegotiatedHeaderExtensions() const /*override*/;
109
110 virtual ::webrtc::RTCError SetHeaderExtensionsToNegotiate(
112 ) /*override*/;
113 // NOLINTEND
114
115public:
116 // member functions
117 // NOLINTBEGIN
118 MCNAPI void AddReceiver(
120 );
121
122 MCNAPI void
124
125 MCNAPI void ClearChannel();
126
127 MCNAPI ::webrtc::RTCError CreateChannel(
128 ::std::string_view mid,
129 ::webrtc::Call* call_ptr,
130 ::cricket::MediaConfig const& media_config,
131 bool srtp_required,
132 ::webrtc::CryptoOptions crypto_options,
133 ::cricket::AudioOptions const& audio_options,
134 ::cricket::VideoOptions const& video_options,
135 ::webrtc::VideoBitrateAllocatorFactory* video_bitrate_allocator_factory,
136 ::std::function<::webrtc::RtpTransportInternal*(::std::string_view)> transport_lookup
137 );
138
139 MCNAPI void OnNegotiationUpdate(::webrtc::SdpType sdp_type, ::cricket::MediaContentDescription const* content);
140
141 MCNAPI void PushNewMediaChannelAndDeleteChannel(::std::unique_ptr<::cricket::ChannelInterface> channel_to_delete);
142
144
146
147 MCNAPI RtpTransceiver(::cricket::MediaType media_type, ::webrtc::ConnectionContext* context);
148
153 ::std::vector<::webrtc::RtpHeaderExtensionCapability> header_extensions_to_negotiate,
154 ::std::function<void()> on_negotiation_needed
155 );
156
158
160
162
163 MCNAPI ::webrtc::scoped_refptr<::webrtc::RtpReceiverInternal> receiver_internal() const;
164
165 MCNAPI ::webrtc::scoped_refptr<::webrtc::RtpSenderInternal> sender_internal() const;
166
167 MCNAPI ::std::vector<::webrtc::scoped_refptr<::webrtc::RtpSenderProxyWithInternal<::webrtc::RtpSenderInternal>>>
168 senders() const;
169
170 MCNAPI void set_current_direction(::webrtc::RtpTransceiverDirection direction);
171
172 MCNAPI void set_fired_direction(::std::optional<::webrtc::RtpTransceiverDirection> direction);
173
174 MCNAPI void set_mid(::std::optional<::std::string> const& mid);
175 // NOLINTEND
176
177public:
178 // constructor thunks
179 // NOLINTBEGIN
180 MCNAPI void* $ctor(::cricket::MediaType media_type, ::webrtc::ConnectionContext* context);
181
182 MCNAPI void* $ctor(
186 ::std::vector<::webrtc::RtpHeaderExtensionCapability> header_extensions_to_negotiate,
187 ::std::function<void()> on_negotiation_needed
188 );
189 // NOLINTEND
190
191public:
192 // destructor thunk
193 // NOLINTBEGIN
194 MCNAPI void $dtor();
195 // NOLINTEND
196
197public:
198 // virtual function thunks
199 // NOLINTBEGIN
200 MCNAPI ::cricket::MediaType $media_type() const;
201
202 MCNAPI ::std::optional<::std::string> $mid() const;
203
204 MCNAPI ::webrtc::scoped_refptr<::webrtc::RtpSenderInterface> $sender() const;
205
206 MCNAPI ::webrtc::scoped_refptr<::webrtc::RtpReceiverInterface> $receiver() const;
207
208 MCNAPI bool $stopped() const;
209
210 MCNAPI bool $stopping() const;
211
212 MCNAPI ::webrtc::RtpTransceiverDirection $direction() const;
213
214 MCNAPI ::webrtc::RTCError $SetDirectionWithError(::webrtc::RtpTransceiverDirection new_direction);
215
216 MCNAPI ::std::optional<::webrtc::RtpTransceiverDirection> $current_direction() const;
217
218 MCNAPI ::std::optional<::webrtc::RtpTransceiverDirection> $fired_direction() const;
219
220 MCNAPI ::webrtc::RTCError $StopStandard();
221
222 MCNAPI void $StopInternal();
223
224 MCNAPI ::webrtc::RTCError $SetCodecPreferences(::rtc::ArrayView<::webrtc::RtpCodecCapability> codec_capabilities);
225
226 MCNAPI ::std::vector<::webrtc::RtpCodecCapability> $codec_preferences() const;
227
228 MCNAPI ::std::vector<::webrtc::RtpHeaderExtensionCapability> $GetHeaderExtensionsToNegotiate() const;
229
230 MCNAPI ::std::vector<::webrtc::RtpHeaderExtensionCapability> $GetNegotiatedHeaderExtensions() const;
231
232 MCNAPI ::webrtc::RTCError
234
235
236 // NOLINTEND
237
238public:
239 // vftables
240 // NOLINTBEGIN
241 MCNAPI static void** $vftable();
242 // NOLINTEND
243};
244
245} // namespace webrtc
Definition ChannelInterface.h:26
Definition MediaContentDescription.h:19
Definition _HeaderOutputPredefine.h:309
Definition Call.h:35
Definition ConnectionContext.h:17
Definition RTCError.h:10
Definition RtpReceiverInterface.h:24
Definition RtpReceiverInternal.h:18
Definition RtpReceiverProxyWithInternal.h:8
Definition RtpSenderInterface.h:26
Definition RtpSenderInternal.h:22
Definition RtpSenderProxyWithInternal.h:8
Definition RtpTransceiverInterface.h:22
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 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 ::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
Definition RtpCodecCapability.h:11
Definition RtpHeaderExtensionCapability.h:7