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 MCAPI void $dtor();
49 // NOLINTEND
50 };
51
52public:
53 // member functions
54 // NOLINTBEGIN
55 MCAPI ::webrtc::
56 RTCError
58 const;
59
60 MCAPI ::webrtc::RTCError
62 const;
63
64 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*)
65 const;
66
67 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*)
68 const;
69
70 MCAPI ::webrtc::RTCError
71 AddTransportAnswer(::std::string const&, ::cricket::TransportDescription const&, ::cricket::SessionDescription*)
72 const;
73
74 MCAPI ::webrtc::RTCError
76 const;
77
78 MCAPI ::webrtc::RTCError
80 const;
81
82 MCAPI ::webrtc::RTCError
84 const;
85
86 MCAPI void ComputeAudioCodecsIntersectionAndUnion();
87
88 MCAPI void ComputeVideoCodecsIntersectionAndUnion();
89
90 MCAPI ::webrtc::RTCErrorOr<::std::unique_ptr<::cricket::SessionDescription>>
92 const;
93
94 MCAPI ::webrtc::RTCErrorOr<::std::unique_ptr<::cricket::SessionDescription>>
95 CreateOfferOrError(::cricket::MediaSessionOptions const&, ::cricket::SessionDescription const*) const;
96
97 MCAPI ::std::unique_ptr<::cricket::TransportDescription>
98 CreateTransportAnswer(::std::string const&, ::cricket::SessionDescription const*, ::cricket::TransportOptions const&, ::cricket::SessionDescription const*, bool, ::cricket::IceCredentialsIterator*)
99 const;
100
101 MCAPI ::std::vector<::cricket::Codec> const&
102 GetAudioCodecsForAnswer(::webrtc::RtpTransceiverDirection const&, ::webrtc::RtpTransceiverDirection const&) const;
103
104 MCAPI ::std::vector<::cricket::Codec> const& GetAudioCodecsForOffer(::webrtc::RtpTransceiverDirection const&) const;
105
106 MCAPI void
107 GetCodecsForAnswer(::std::vector<::cricket::ContentInfo const*> const&, ::cricket::SessionDescription const&, ::std::vector<::cricket::Codec>*, ::std::vector<::cricket::Codec>*)
108 const;
109
110 MCAPI void
111 GetCodecsForOffer(::std::vector<::cricket::ContentInfo const*> const&, ::std::vector<::cricket::Codec>*, ::std::vector<::cricket::Codec>*)
112 const;
113
114 MCAPI ::cricket::MediaSessionDescriptionFactory::AudioVideoRtpHeaderExtensions
115 GetOfferedRtpHeaderExtensionsWithIds(::std::vector<::cricket::ContentInfo const*> const&, bool, ::std::vector<::cricket::MediaDescriptionOptions> const&)
116 const;
117
118 MCAPI ::std::vector<::cricket::Codec> const&
119 GetVideoCodecsForAnswer(::webrtc::RtpTransceiverDirection const&, ::webrtc::RtpTransceiverDirection const&) const;
120
121 MCAPI ::std::vector<::cricket::Codec> const& GetVideoCodecsForOffer(::webrtc::RtpTransceiverDirection const&) const;
122
123 MCAPI
125
126 MCAPI ::std::vector<::webrtc::RtpExtension>
127 filtered_rtp_header_extensions(::std::vector<::webrtc::RtpExtension>) const;
128
130 // NOLINTEND
131
132public:
133 // constructor thunks
134 // NOLINTBEGIN
135 MCAPI void*
137 // NOLINTEND
138
139public:
140 // destructor thunk
141 // NOLINTBEGIN
142 MCAPI void $dtor();
143 // NOLINTEND
144};
145
146} // 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
Definition MediaSessionOptions.h:7
Definition TransportDescription.h:17
Definition TransportInfo.h:7
Definition TransportOptions.h:7