LeviLamina
Loading...
Searching...
No Matches
MediaSessionDescriptionFactory.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/external/webrtc/RTCErrorOr.h"
7#include "mc/external/webrtc/RtpTransceiverDirection.h"
8
9// auto generated forward declare list
10// clang-format off
11namespace cricket { class ContentInfo; }
12namespace cricket { class IceCredentialsIterator; }
13namespace cricket { class MediaEngineInterface; }
14namespace cricket { class SessionDescription; }
15namespace cricket { class TransportDescriptionFactory; }
16namespace cricket { struct Codec; }
17namespace cricket { struct MediaDescriptionOptions; }
18namespace cricket { struct MediaSessionOptions; }
19namespace cricket { struct StreamParams; }
20namespace cricket { struct TransportDescription; }
21namespace cricket { struct TransportInfo; }
22namespace cricket { struct TransportOptions; }
23namespace rtc { class UniqueRandomIdGenerator; }
24namespace webrtc { class RTCError; }
25namespace webrtc { struct RtpExtension; }
26// clang-format on
27
28namespace cricket {
29
31public:
32 // MediaSessionDescriptionFactory inner types declare
33 // clang-format off
35 // clang-format on
36
37 // MediaSessionDescriptionFactory inner types define
39 public:
40 // member variables
41 // NOLINTBEGIN
44 // NOLINTEND
45
46 public:
47 // prevent constructor by default
51
52 public:
53 // member functions
54 // NOLINTBEGIN
56 // NOLINTEND
57
58 public:
59 // destructor thunk
60 // NOLINTBEGIN
61 MCNAPI void $dtor();
62 // NOLINTEND
63 };
64
65public:
66 // member variables
67 // NOLINTBEGIN
80 // NOLINTEND
81
82public:
83 // prevent constructor by default
87
88public:
89 // member functions
90 // NOLINTBEGIN
91 MCNAPI ::webrtc::RTCError AddDataContentForAnswer(
92 ::cricket::MediaDescriptionOptions const& media_description_options,
93 ::cricket::MediaSessionOptions const& session_options,
94 ::cricket::ContentInfo const* offer_content,
95 ::cricket::SessionDescription const* offer_description,
96 ::cricket::ContentInfo const* current_content,
97 ::cricket::SessionDescription const* current_description,
98 ::cricket::TransportInfo const* bundle_transport,
99 ::std::vector<::cricket::StreamParams>* current_streams,
101 ::cricket::IceCredentialsIterator* ice_credentials
102 ) const;
103
104 MCNAPI ::webrtc::RTCError AddDataContentForOffer(
105 ::cricket::MediaDescriptionOptions const& media_description_options,
106 ::cricket::MediaSessionOptions const& session_options,
107 ::cricket::ContentInfo const* current_content,
108 ::cricket::SessionDescription const* current_description,
109 ::std::vector<::cricket::StreamParams>* current_streams,
111 ::cricket::IceCredentialsIterator* ice_credentials
112 ) const;
113
114 MCNAPI ::webrtc::RTCError AddRtpContentForAnswer(
115 ::cricket::MediaDescriptionOptions const& media_description_options,
116 ::cricket::MediaSessionOptions const& session_options,
117 ::cricket::ContentInfo const* offer_content,
118 ::cricket::SessionDescription const* offer_description,
119 ::cricket::ContentInfo const* current_content,
120 ::cricket::SessionDescription const* current_description,
121 ::cricket::TransportInfo const* bundle_transport,
122 ::std::vector<::cricket::Codec> const& codecs,
123 ::std::vector<::webrtc::RtpExtension> const& header_extensions,
124 ::std::vector<::cricket::StreamParams>* current_streams,
126 ::cricket::IceCredentialsIterator* ice_credentials
127 ) const;
128
129 MCNAPI ::webrtc::RTCError AddRtpContentForOffer(
130 ::cricket::MediaDescriptionOptions const& media_description_options,
131 ::cricket::MediaSessionOptions const& session_options,
132 ::cricket::ContentInfo const* current_content,
133 ::cricket::SessionDescription const* current_description,
134 ::std::vector<::webrtc::RtpExtension> const& header_extensions,
135 ::std::vector<::cricket::Codec> const& codecs,
136 ::std::vector<::cricket::StreamParams>* current_streams,
137 ::cricket::SessionDescription* session_description,
138 ::cricket::IceCredentialsIterator* ice_credentials
139 ) const;
140
141 MCNAPI ::webrtc::RTCError AddTransportAnswer(
142 ::std::string const& content_name,
143 ::cricket::TransportDescription const& transport_desc,
145 ) const;
146
147 MCNAPI ::webrtc::RTCError AddTransportOffer(
148 ::std::string const& content_name,
149 ::cricket::TransportOptions const& transport_options,
150 ::cricket::SessionDescription const* current_desc,
152 ::cricket::IceCredentialsIterator* ice_credentials
153 ) const;
154
155 MCNAPI ::webrtc::RTCError AddUnsupportedContentForAnswer(
156 ::cricket::MediaDescriptionOptions const& media_description_options,
157 ::cricket::MediaSessionOptions const& session_options,
158 ::cricket::ContentInfo const* offer_content,
159 ::cricket::SessionDescription const* offer_description,
160 ::cricket::ContentInfo const* current_content,
161 ::cricket::SessionDescription const* current_description,
162 ::cricket::TransportInfo const* bundle_transport,
164 ::cricket::IceCredentialsIterator* ice_credentials
165 ) const;
166
167 MCNAPI ::webrtc::RTCError AddUnsupportedContentForOffer(
168 ::cricket::MediaDescriptionOptions const& media_description_options,
169 ::cricket::MediaSessionOptions const& session_options,
170 ::cricket::ContentInfo const* current_content,
171 ::cricket::SessionDescription const* current_description,
173 ::cricket::IceCredentialsIterator* ice_credentials
174 ) const;
175
177
179
180 MCNAPI ::webrtc::RTCErrorOr<::std::unique_ptr<::cricket::SessionDescription>> CreateAnswerOrError(
182 ::cricket::MediaSessionOptions const& session_options,
183 ::cricket::SessionDescription const* current_description
184 ) const;
185
186 MCNAPI ::webrtc::RTCErrorOr<::std::unique_ptr<::cricket::SessionDescription>> CreateOfferOrError(
187 ::cricket::MediaSessionOptions const& session_options,
188 ::cricket::SessionDescription const* current_description
189 ) const;
190
191 MCNAPI ::std::unique_ptr<::cricket::TransportDescription> CreateTransportAnswer(
192 ::std::string const& content_name,
193 ::cricket::SessionDescription const* offer_desc,
194 ::cricket::TransportOptions const& transport_options,
195 ::cricket::SessionDescription const* current_desc,
196 bool require_transport_attributes,
197 ::cricket::IceCredentialsIterator* ice_credentials
198 ) const;
199
200 MCNAPI ::std::vector<::cricket::Codec> const& GetAudioCodecsForAnswer(
201 ::webrtc::RtpTransceiverDirection const& offer,
202 ::webrtc::RtpTransceiverDirection const& answer
203 ) const;
204
205 MCNAPI ::std::vector<::cricket::Codec> const&
206 GetAudioCodecsForOffer(::webrtc::RtpTransceiverDirection const& direction) const;
207
209 ::std::vector<::cricket::ContentInfo const*> const& current_active_contents,
210 ::cricket::SessionDescription const& remote_offer,
211 ::std::vector<::cricket::Codec>* audio_codecs,
212 ::std::vector<::cricket::Codec>* video_codecs
213 ) const;
214
215 MCNAPI void GetCodecsForOffer(
216 ::std::vector<::cricket::ContentInfo const*> const& current_active_contents,
217 ::std::vector<::cricket::Codec>* audio_codecs,
218 ::std::vector<::cricket::Codec>* video_codecs
219 ) const;
220
221 MCNAPI ::cricket::MediaSessionDescriptionFactory::AudioVideoRtpHeaderExtensions
223 ::std::vector<::cricket::ContentInfo const*> const& current_active_contents,
224 bool extmap_allow_mixed,
225 ::std::vector<::cricket::MediaDescriptionOptions> const& media_description_options
226 ) const;
227
228 MCNAPI ::std::vector<::cricket::Codec> const& GetVideoCodecsForAnswer(
229 ::webrtc::RtpTransceiverDirection const& offer,
230 ::webrtc::RtpTransceiverDirection const& answer
231 ) const;
232
233 MCNAPI ::std::vector<::cricket::Codec> const&
234 GetVideoCodecsForOffer(::webrtc::RtpTransceiverDirection const& direction) const;
235
238 bool rtx_enabled,
239 ::rtc::UniqueRandomIdGenerator* ssrc_generator,
240 ::cricket::TransportDescriptionFactory const* transport_desc_factory
241 );
242
243 MCNAPI ::std::vector<::webrtc::RtpExtension>
244 filtered_rtp_header_extensions(::std::vector<::webrtc::RtpExtension> extensions) const;
245
247 // NOLINTEND
248
249public:
250 // constructor thunks
251 // NOLINTBEGIN
252 MCNAPI void* $ctor(
254 bool rtx_enabled,
255 ::rtc::UniqueRandomIdGenerator* ssrc_generator,
256 ::cricket::TransportDescriptionFactory const* transport_desc_factory
257 );
258 // NOLINTEND
259
260public:
261 // destructor thunk
262 // NOLINTBEGIN
263 MCNAPI void $dtor();
264 // NOLINTEND
265};
266
267} // namespace cricket
Definition ContentInfo.h:12
Definition IceCredentialsIterator.h:12
Definition MediaEngineInterface.h:13
Definition MediaSessionDescriptionFactory.h:30
MCAPI::webrtc::RTCError AddRtpContentForAnswer(::cricket::MediaDescriptionOptions const &media_description_options, ::cricket::MediaSessionOptions const &session_options, ::cricket::ContentInfo const *offer_content, ::cricket::SessionDescription const *offer_description, ::cricket::ContentInfo const *current_content, ::cricket::SessionDescription const *current_description, ::cricket::TransportInfo const *bundle_transport, ::std::vector<::cricket::Codec > const &codecs, ::std::vector<::webrtc::RtpExtension > const &header_extensions, ::std::vector<::cricket::StreamParams > *current_streams, ::cricket::SessionDescription *answer, ::cricket::IceCredentialsIterator *ice_credentials) const
MCAPI void GetCodecsForOffer(::std::vector<::cricket::ContentInfo const * > const &current_active_contents, ::std::vector<::cricket::Codec > *audio_codecs, ::std::vector<::cricket::Codec > *video_codecs) const
MCAPI void GetCodecsForAnswer(::std::vector<::cricket::ContentInfo const * > const &current_active_contents, ::cricket::SessionDescription const &remote_offer, ::std::vector<::cricket::Codec > *audio_codecs, ::std::vector<::cricket::Codec > *video_codecs) const
MCAPI MediaSessionDescriptionFactory(::cricket::MediaEngineInterface *media_engine, bool rtx_enabled, ::rtc::UniqueRandomIdGenerator *ssrc_generator, ::cricket::TransportDescriptionFactory const *transport_desc_factory)
MCAPI ::std::vector<::webrtc::RtpExtension > filtered_rtp_header_extensions(::std::vector<::webrtc::RtpExtension > extensions) const
MCAPI::webrtc::RTCError AddTransportOffer(::std::string const &content_name, ::cricket::TransportOptions const &transport_options, ::cricket::SessionDescription const *current_desc, ::cricket::SessionDescription *offer_desc, ::cricket::IceCredentialsIterator *ice_credentials) const
MCAPI::webrtc::RTCError AddTransportAnswer(::std::string const &content_name, ::cricket::TransportDescription const &transport_desc, ::cricket::SessionDescription *answer_desc) const
MCAPI ::std::vector<::cricket::Codec > const & GetAudioCodecsForAnswer(::webrtc::RtpTransceiverDirection const &offer, ::webrtc::RtpTransceiverDirection const &answer) const
MCAPI::webrtc::RTCError AddUnsupportedContentForAnswer(::cricket::MediaDescriptionOptions const &media_description_options, ::cricket::MediaSessionOptions const &session_options, ::cricket::ContentInfo const *offer_content, ::cricket::SessionDescription const *offer_description, ::cricket::ContentInfo const *current_content, ::cricket::SessionDescription const *current_description, ::cricket::TransportInfo const *bundle_transport, ::cricket::SessionDescription *answer, ::cricket::IceCredentialsIterator *ice_credentials) const
MCAPI::cricket::MediaSessionDescriptionFactory::AudioVideoRtpHeaderExtensions GetOfferedRtpHeaderExtensionsWithIds(::std::vector<::cricket::ContentInfo const * > const &current_active_contents, bool extmap_allow_mixed, ::std::vector<::cricket::MediaDescriptionOptions > const &media_description_options) const
MCAPI::webrtc::RTCError AddUnsupportedContentForOffer(::cricket::MediaDescriptionOptions const &media_description_options, ::cricket::MediaSessionOptions const &session_options, ::cricket::ContentInfo const *current_content, ::cricket::SessionDescription const *current_description, ::cricket::SessionDescription *desc, ::cricket::IceCredentialsIterator *ice_credentials) const
MCAPI ::std::unique_ptr<::cricket::TransportDescription > CreateTransportAnswer(::std::string const &content_name, ::cricket::SessionDescription const *offer_desc, ::cricket::TransportOptions const &transport_options, ::cricket::SessionDescription const *current_desc, bool require_transport_attributes, ::cricket::IceCredentialsIterator *ice_credentials) const
MCAPI void * $ctor(::cricket::MediaEngineInterface *media_engine, bool rtx_enabled, ::rtc::UniqueRandomIdGenerator *ssrc_generator, ::cricket::TransportDescriptionFactory const *transport_desc_factory)
MCAPI::webrtc::RTCError AddDataContentForOffer(::cricket::MediaDescriptionOptions const &media_description_options, ::cricket::MediaSessionOptions const &session_options, ::cricket::ContentInfo const *current_content, ::cricket::SessionDescription const *current_description, ::std::vector<::cricket::StreamParams > *current_streams, ::cricket::SessionDescription *desc, ::cricket::IceCredentialsIterator *ice_credentials) const
MCAPI ::std::vector<::cricket::Codec > const & GetAudioCodecsForOffer(::webrtc::RtpTransceiverDirection const &direction) const
MCAPI ::webrtc::RTCErrorOr<::std::unique_ptr<::cricket::SessionDescription > > CreateOfferOrError(::cricket::MediaSessionOptions const &session_options, ::cricket::SessionDescription const *current_description) const
MCAPI::webrtc::RTCError AddRtpContentForOffer(::cricket::MediaDescriptionOptions const &media_description_options, ::cricket::MediaSessionOptions const &session_options, ::cricket::ContentInfo const *current_content, ::cricket::SessionDescription const *current_description, ::std::vector<::webrtc::RtpExtension > const &header_extensions, ::std::vector<::cricket::Codec > const &codecs, ::std::vector<::cricket::StreamParams > *current_streams, ::cricket::SessionDescription *session_description, ::cricket::IceCredentialsIterator *ice_credentials) const
MCAPI ::std::vector<::cricket::Codec > const & GetVideoCodecsForAnswer(::webrtc::RtpTransceiverDirection const &offer, ::webrtc::RtpTransceiverDirection const &answer) const
MCAPI ::std::vector<::cricket::Codec > const & GetVideoCodecsForOffer(::webrtc::RtpTransceiverDirection const &direction) const
MCAPI ::webrtc::RTCErrorOr<::std::unique_ptr<::cricket::SessionDescription > > CreateAnswerOrError(::cricket::SessionDescription const *offer, ::cricket::MediaSessionOptions const &session_options, ::cricket::SessionDescription const *current_description) const
MCAPI::webrtc::RTCError AddDataContentForAnswer(::cricket::MediaDescriptionOptions const &media_description_options, ::cricket::MediaSessionOptions const &session_options, ::cricket::ContentInfo const *offer_content, ::cricket::SessionDescription const *offer_description, ::cricket::ContentInfo const *current_content, ::cricket::SessionDescription const *current_description, ::cricket::TransportInfo const *bundle_transport, ::std::vector<::cricket::StreamParams > *current_streams, ::cricket::SessionDescription *answer, ::cricket::IceCredentialsIterator *ice_credentials) const
Definition SessionDescription.h:18
Definition TransportDescriptionFactory.h:18
Definition UniqueRandomIdGenerator.h:7
Definition MediaDescriptionOptions.h:13
Definition MediaSessionOptions.h:7
Definition TransportDescription.h:17
Definition TransportInfo.h:7
Definition TransportOptions.h:7
Definition Alias.h:14