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
8// auto generated forward declare list
9// clang-format off
10namespace cricket { class ContentInfo; }
11namespace cricket { class IceCredentialsIterator; }
12namespace cricket { class MediaEngineInterface; }
13namespace cricket { class SessionDescription; }
14namespace cricket { class TransportDescriptionFactory; }
15namespace cricket { struct Codec; }
16namespace cricket { struct MediaDescriptionOptions; }
17namespace cricket { struct MediaSessionOptions; }
18namespace cricket { struct StreamParams; }
19namespace cricket { struct TransportDescription; }
20namespace cricket { struct TransportInfo; }
21namespace cricket { struct TransportOptions; }
22namespace rtc { class UniqueRandomIdGenerator; }
23namespace webrtc { class RTCError; }
24namespace webrtc { struct RtpExtension; }
25// clang-format on
26
27namespace cricket {
28
29class MediaSessionDescriptionFactory {
30public:
31 // MediaSessionDescriptionFactory inner types declare
32 // clang-format off
34 // clang-format on
35
36 // MediaSessionDescriptionFactory inner types define
37 struct AudioVideoRtpHeaderExtensions {
38 public:
39 // member variables
40 // NOLINTBEGIN
43 // NOLINTEND
44
45 public:
46 // prevent constructor by default
47 AudioVideoRtpHeaderExtensions& operator=(AudioVideoRtpHeaderExtensions const&);
48 AudioVideoRtpHeaderExtensions(AudioVideoRtpHeaderExtensions const&);
49 AudioVideoRtpHeaderExtensions();
50
51 public:
52 // member functions
53 // NOLINTBEGIN
55 // NOLINTEND
56
57 public:
58 // destructor thunk
59 // NOLINTBEGIN
60 MCNAPI void $dtor();
61 // NOLINTEND
62 };
63
64public:
65 // member variables
66 // NOLINTBEGIN
79 // NOLINTEND
80
81public:
82 // prevent constructor by default
83 MediaSessionDescriptionFactory& operator=(MediaSessionDescriptionFactory const&);
84 MediaSessionDescriptionFactory(MediaSessionDescriptionFactory const&);
85 MediaSessionDescriptionFactory();
86
87public:
88 // member functions
89 // NOLINTBEGIN
90 MCNAPI ::webrtc::RTCError AddDataContentForAnswer(
91 ::cricket::MediaDescriptionOptions const& media_description_options,
92 ::cricket::MediaSessionOptions const& session_options,
93 ::cricket::ContentInfo const* offer_content,
94 ::cricket::SessionDescription const* offer_description,
95 ::cricket::ContentInfo const* current_content,
96 ::cricket::SessionDescription const* current_description,
97 ::cricket::TransportInfo const* bundle_transport,
98 ::std::vector<::cricket::StreamParams>* current_streams,
100 ::cricket::IceCredentialsIterator* ice_credentials
101 ) const;
102
103 MCNAPI ::webrtc::RTCError AddDataContentForOffer(
104 ::cricket::MediaDescriptionOptions const& media_description_options,
105 ::cricket::MediaSessionOptions const& session_options,
106 ::cricket::ContentInfo const* current_content,
107 ::cricket::SessionDescription const* current_description,
108 ::std::vector<::cricket::StreamParams>* current_streams,
110 ::cricket::IceCredentialsIterator* ice_credentials
111 ) const;
112
113 MCNAPI ::webrtc::RTCError AddRtpContentForAnswer(
114 ::cricket::MediaDescriptionOptions const& media_description_options,
115 ::cricket::MediaSessionOptions const& session_options,
116 ::cricket::ContentInfo const* offer_content,
117 ::cricket::SessionDescription const* offer_description,
118 ::cricket::ContentInfo const* current_content,
119 ::cricket::SessionDescription const* current_description,
120 ::cricket::TransportInfo const* bundle_transport,
121 ::std::vector<::cricket::Codec> const& codecs,
122 ::std::vector<::webrtc::RtpExtension> const& header_extensions,
123 ::std::vector<::cricket::StreamParams>* current_streams,
125 ::cricket::IceCredentialsIterator* ice_credentials
126 ) const;
127
128 MCNAPI ::webrtc::RTCError AddRtpContentForOffer(
129 ::cricket::MediaDescriptionOptions const& media_description_options,
130 ::cricket::MediaSessionOptions const& session_options,
131 ::cricket::ContentInfo const* current_content,
132 ::cricket::SessionDescription const* current_description,
133 ::std::vector<::webrtc::RtpExtension> const& header_extensions,
134 ::std::vector<::cricket::Codec> const& codecs,
135 ::std::vector<::cricket::StreamParams>* current_streams,
136 ::cricket::SessionDescription* session_description,
137 ::cricket::IceCredentialsIterator* ice_credentials
138 ) const;
139
140 MCNAPI ::webrtc::RTCError AddTransportAnswer(
141 ::std::string const& content_name,
142 ::cricket::TransportDescription const& transport_desc,
144 ) const;
145
146 MCNAPI ::webrtc::RTCError AddTransportOffer(
147 ::std::string const& content_name,
148 ::cricket::TransportOptions const& transport_options,
149 ::cricket::SessionDescription const* current_desc,
151 ::cricket::IceCredentialsIterator* ice_credentials
152 ) const;
153
154 MCNAPI ::webrtc::RTCError AddUnsupportedContentForAnswer(
155 ::cricket::MediaDescriptionOptions const& media_description_options,
156 ::cricket::MediaSessionOptions const& session_options,
157 ::cricket::ContentInfo const* offer_content,
158 ::cricket::SessionDescription const* offer_description,
159 ::cricket::ContentInfo const* current_content,
160 ::cricket::SessionDescription const* current_description,
161 ::cricket::TransportInfo const* bundle_transport,
163 ::cricket::IceCredentialsIterator* ice_credentials
164 ) const;
165
166 MCNAPI ::webrtc::RTCError AddUnsupportedContentForOffer(
167 ::cricket::MediaDescriptionOptions const& media_description_options,
168 ::cricket::MediaSessionOptions const& session_options,
169 ::cricket::ContentInfo const* current_content,
170 ::cricket::SessionDescription const* current_description,
172 ::cricket::IceCredentialsIterator* ice_credentials
173 ) const;
174
176
178
179 MCNAPI ::webrtc::RTCErrorOr<::std::unique_ptr<::cricket::SessionDescription>> CreateAnswerOrError(
181 ::cricket::MediaSessionOptions const& session_options,
182 ::cricket::SessionDescription const* current_description
183 ) const;
184
185 MCNAPI ::webrtc::RTCErrorOr<::std::unique_ptr<::cricket::SessionDescription>> CreateOfferOrError(
186 ::cricket::MediaSessionOptions const& session_options,
187 ::cricket::SessionDescription const* current_description
188 ) const;
189
191 ::std::vector<::cricket::ContentInfo const*> const& current_active_contents,
192 ::cricket::SessionDescription const& remote_offer,
193 ::std::vector<::cricket::Codec>* audio_codecs,
194 ::std::vector<::cricket::Codec>* video_codecs
195 ) const;
196
197 MCNAPI ::cricket::MediaSessionDescriptionFactory::AudioVideoRtpHeaderExtensions
199 ::std::vector<::cricket::ContentInfo const*> const& current_active_contents,
200 bool extmap_allow_mixed,
201 ::std::vector<::cricket::MediaDescriptionOptions> const& media_description_options
202 ) const;
203
206 bool rtx_enabled,
207 ::rtc::UniqueRandomIdGenerator* ssrc_generator,
208 ::cricket::TransportDescriptionFactory const* transport_desc_factory
209 );
210
211 MCNAPI ::std::vector<::webrtc::RtpExtension>
212 filtered_rtp_header_extensions(::std::vector<::webrtc::RtpExtension> extensions) const;
213
215 // NOLINTEND
216
217public:
218 // constructor thunks
219 // NOLINTBEGIN
220 MCNAPI void* $ctor(
222 bool rtx_enabled,
223 ::rtc::UniqueRandomIdGenerator* ssrc_generator,
224 ::cricket::TransportDescriptionFactory const* transport_desc_factory
225 );
226 // NOLINTEND
227
228public:
229 // destructor thunk
230 // NOLINTBEGIN
231 MCNAPI void $dtor();
232 // NOLINTEND
233};
234
235} // namespace cricket
Definition ContentInfo.h:12
Definition IceCredentialsIterator.h:12
Definition MediaEngineInterface.h:13
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 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::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 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 ::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 ::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 RTCError.h:10
Definition Codec.h:17
Definition MediaDescriptionOptions.h:13
Definition MediaSessionOptions.h:7
Definition StreamParams.h:12
Definition TransportDescription.h:17
Definition TransportInfo.h:7
Definition TransportOptions.h:7
Definition Alias.h:14
Definition RtpExtension.h:7