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 functions
41 // NOLINTBEGIN
43 // NOLINTEND
44
45 public:
46 // destructor thunk
47 // NOLINTBEGIN
48 MCNAPI void $dtor();
49 // NOLINTEND
50 };
51
52public:
53 // prevent constructor by default
55
56public:
57 // member functions
58 // NOLINTBEGIN
59 MCNAPI ::webrtc::RTCError AddDataContentForAnswer(
67 ::std::vector<::cricket::StreamParams>*,
70 ) const;
71
72 MCNAPI ::webrtc::RTCError AddDataContentForOffer(
77 ::std::vector<::cricket::StreamParams>*,
80 ) const;
81
82 MCNAPI ::webrtc::RTCError AddRtpContentForAnswer(
90 ::std::vector<::cricket::Codec> const&,
91 ::std::vector<::webrtc::RtpExtension> const&,
92 ::std::vector<::cricket::StreamParams>*,
95 ) const;
96
97 MCNAPI ::webrtc::RTCError AddRtpContentForOffer(
102 ::std::vector<::webrtc::RtpExtension> const&,
103 ::std::vector<::cricket::Codec> const&,
104 ::std::vector<::cricket::StreamParams>*,
107 ) const;
108
109 MCNAPI ::webrtc::RTCError AddTransportAnswer(
110 ::std::string const&,
113 ) const;
114
115 MCNAPI ::webrtc::RTCError AddTransportOffer(
116 ::std::string const&,
121 ) const;
122
123 MCNAPI ::webrtc::RTCError AddUnsupportedContentForAnswer(
133 ) const;
134
135 MCNAPI ::webrtc::RTCError AddUnsupportedContentForOffer(
142 ) const;
143
145
147
148 MCNAPI ::webrtc::RTCErrorOr<::std::unique_ptr<::cricket::SessionDescription>> CreateAnswerOrError(
152 ) const;
153
154 MCNAPI ::webrtc::RTCErrorOr<::std::unique_ptr<::cricket::SessionDescription>>
156
157 MCNAPI ::std::unique_ptr<::cricket::TransportDescription> CreateTransportAnswer(
158 ::std::string const&,
162 bool,
164 ) const;
165
166 MCNAPI ::std::vector<::cricket::Codec> const&
167 GetAudioCodecsForAnswer(::webrtc::RtpTransceiverDirection const&, ::webrtc::RtpTransceiverDirection const&) const;
168
169 MCNAPI ::std::vector<::cricket::Codec> const&
170 GetAudioCodecsForOffer(::webrtc::RtpTransceiverDirection const&) const;
171
173 ::std::vector<::cricket::ContentInfo const*> const&,
175 ::std::vector<::cricket::Codec>*,
176 ::std::vector<::cricket::Codec>*
177 ) const;
178
179 MCNAPI void GetCodecsForOffer(
180 ::std::vector<::cricket::ContentInfo const*> const&,
181 ::std::vector<::cricket::Codec>*,
182 ::std::vector<::cricket::Codec>*
183 ) const;
184
185 MCNAPI ::cricket::MediaSessionDescriptionFactory::AudioVideoRtpHeaderExtensions
187 ::std::vector<::cricket::ContentInfo const*> const&,
188 bool,
189 ::std::vector<::cricket::MediaDescriptionOptions> const&
190 ) const;
191
192 MCNAPI ::std::vector<::cricket::Codec> const&
193 GetVideoCodecsForAnswer(::webrtc::RtpTransceiverDirection const&, ::webrtc::RtpTransceiverDirection const&) const;
194
195 MCNAPI ::std::vector<::cricket::Codec> const&
196 GetVideoCodecsForOffer(::webrtc::RtpTransceiverDirection const&) const;
197
200 bool,
203 );
204
205 MCNAPI ::std::vector<::webrtc::RtpExtension>
206 filtered_rtp_header_extensions(::std::vector<::webrtc::RtpExtension>) const;
207
209 // NOLINTEND
210
211public:
212 // constructor thunks
213 // NOLINTBEGIN
214 MCNAPI void* $ctor(
216 bool,
219 );
220 // NOLINTEND
221
222public:
223 // destructor thunk
224 // NOLINTBEGIN
225 MCNAPI void $dtor();
226 // NOLINTEND
227};
228
229} // namespace cricket
Definition ContentInfo.h:12
Definition IceCredentialsIterator.h:12
Definition MediaEngineInterface.h:13
Definition SessionDescription.h:18
Definition TransportDescriptionFactory.h:18
Definition UniqueRandomIdGenerator.h:7
Definition MediaDescriptionOptions.h:13
Definition MediaSessionDescriptionFactory.h:30
MCAPI::webrtc::RTCError AddDataContentForAnswer(::cricket::MediaDescriptionOptions const &, ::cricket::MediaSessionOptions const &, ::cricket::ContentInfo const *, ::cricket::SessionDescription const *, ::cricket::ContentInfo const *, ::cricket::SessionDescription const *, ::cricket::TransportInfo const *, ::std::vector<::cricket::StreamParams > *, ::cricket::SessionDescription *, ::cricket::IceCredentialsIterator *) const
MCAPI void GetCodecsForAnswer(::std::vector<::cricket::ContentInfo const * > const &, ::cricket::SessionDescription const &, ::std::vector<::cricket::Codec > *, ::std::vector<::cricket::Codec > *) const
MCAPI ::webrtc::RTCErrorOr<::std::unique_ptr<::cricket::SessionDescription > > CreateAnswerOrError(::cricket::SessionDescription const *, ::cricket::MediaSessionOptions const &, ::cricket::SessionDescription const *) const
MCAPI ::webrtc::RTCErrorOr<::std::unique_ptr<::cricket::SessionDescription > > CreateOfferOrError(::cricket::MediaSessionOptions const &, ::cricket::SessionDescription const *) const
MCAPI ::std::vector<::cricket::Codec > const & GetVideoCodecsForOffer(::webrtc::RtpTransceiverDirection const &) const
MCAPI::webrtc::RTCError AddDataContentForOffer(::cricket::MediaDescriptionOptions const &, ::cricket::MediaSessionOptions const &, ::cricket::ContentInfo const *, ::cricket::SessionDescription const *, ::std::vector<::cricket::StreamParams > *, ::cricket::SessionDescription *, ::cricket::IceCredentialsIterator *) const
MCAPI ::std::unique_ptr<::cricket::TransportDescription > CreateTransportAnswer(::std::string const &, ::cricket::SessionDescription const *, ::cricket::TransportOptions const &, ::cricket::SessionDescription const *, bool, ::cricket::IceCredentialsIterator *) const
MCAPI void * $ctor(::cricket::MediaEngineInterface *, bool, ::rtc::UniqueRandomIdGenerator *, ::cricket::TransportDescriptionFactory const *)
MCAPI ::std::vector<::cricket::Codec > const & GetVideoCodecsForAnswer(::webrtc::RtpTransceiverDirection const &, ::webrtc::RtpTransceiverDirection const &) const
MCAPI ::std::vector<::cricket::Codec > const & GetAudioCodecsForOffer(::webrtc::RtpTransceiverDirection const &) const
MCAPI::webrtc::RTCError AddRtpContentForOffer(::cricket::MediaDescriptionOptions const &, ::cricket::MediaSessionOptions const &, ::cricket::ContentInfo const *, ::cricket::SessionDescription const *, ::std::vector<::webrtc::RtpExtension > const &, ::std::vector<::cricket::Codec > const &, ::std::vector<::cricket::StreamParams > *, ::cricket::SessionDescription *, ::cricket::IceCredentialsIterator *) const
MCAPI::webrtc::RTCError AddTransportAnswer(::std::string const &, ::cricket::TransportDescription const &, ::cricket::SessionDescription *) const
MCAPI MediaSessionDescriptionFactory(::cricket::MediaEngineInterface *, bool, ::rtc::UniqueRandomIdGenerator *, ::cricket::TransportDescriptionFactory const *)
MCAPI ::std::vector<::cricket::Codec > const & GetAudioCodecsForAnswer(::webrtc::RtpTransceiverDirection const &, ::webrtc::RtpTransceiverDirection const &) const
MCAPI::webrtc::RTCError AddUnsupportedContentForAnswer(::cricket::MediaDescriptionOptions const &, ::cricket::MediaSessionOptions const &, ::cricket::ContentInfo const *, ::cricket::SessionDescription const *, ::cricket::ContentInfo const *, ::cricket::SessionDescription const *, ::cricket::TransportInfo const *, ::cricket::SessionDescription *, ::cricket::IceCredentialsIterator *) const
MCAPI::cricket::MediaSessionDescriptionFactory::AudioVideoRtpHeaderExtensions GetOfferedRtpHeaderExtensionsWithIds(::std::vector<::cricket::ContentInfo const * > const &, bool, ::std::vector<::cricket::MediaDescriptionOptions > const &) const
MCAPI::webrtc::RTCError AddUnsupportedContentForOffer(::cricket::MediaDescriptionOptions const &, ::cricket::MediaSessionOptions const &, ::cricket::ContentInfo const *, ::cricket::SessionDescription const *, ::cricket::SessionDescription *, ::cricket::IceCredentialsIterator *) const
MCAPI::webrtc::RTCError AddRtpContentForAnswer(::cricket::MediaDescriptionOptions const &, ::cricket::MediaSessionOptions const &, ::cricket::ContentInfo const *, ::cricket::SessionDescription const *, ::cricket::ContentInfo const *, ::cricket::SessionDescription const *, ::cricket::TransportInfo const *, ::std::vector<::cricket::Codec > const &, ::std::vector<::webrtc::RtpExtension > const &, ::std::vector<::cricket::StreamParams > *, ::cricket::SessionDescription *, ::cricket::IceCredentialsIterator *) const
MCAPI::webrtc::RTCError AddTransportOffer(::std::string const &, ::cricket::TransportOptions const &, ::cricket::SessionDescription const *, ::cricket::SessionDescription *, ::cricket::IceCredentialsIterator *) const
MCAPI ::std::vector<::webrtc::RtpExtension > filtered_rtp_header_extensions(::std::vector<::webrtc::RtpExtension >) const
MCAPI void GetCodecsForOffer(::std::vector<::cricket::ContentInfo const * > const &, ::std::vector<::cricket::Codec > *, ::std::vector<::cricket::Codec > *) const
Definition MediaSessionOptions.h:7
Definition TransportDescription.h:17
Definition TransportInfo.h:7
Definition TransportOptions.h:7