3#include "mc/_HeaderOutputPredefine.h"
6#include "mc/external/absl/AnyInvocable.h"
7#include "mc/external/cricket/MediaType.h"
8#include "mc/external/rtc/AdapterType.h"
9#include "mc/external/webrtc/AV1Profile.h"
10#include "mc/external/webrtc/IceCandidateType.h"
11#include "mc/external/webrtc/PeerConnectionInterface.h"
12#include "mc/external/webrtc/Priority.h"
13#include "mc/external/webrtc/RTCErrorType.h"
14#include "mc/external/webrtc/RtpReceiverProxyWithInternal.h"
15#include "mc/external/webrtc/RtpSenderProxyWithInternal.h"
16#include "mc/external/webrtc/RtpTransceiverDirection.h"
17#include "mc/external/webrtc/RtpTransceiverProxyWithInternal.h"
18#include "mc/external/webrtc/ScalabilityMode.h"
19#include "mc/external/webrtc/SdpType.h"
20#include "mc/external/webrtc/VP9Profile.h"
21#include "mc/external/webrtc/VideoCodecType.h"
22#include "mc/external/webrtc/scoped_refptr.h"
26namespace cricket {
class Candidate; }
27namespace cricket {
class ContentInfo; }
28namespace cricket {
class FeedbackParam; }
29namespace cricket {
class FeedbackParams; }
30namespace cricket {
class MediaContentDescription; }
31namespace cricket {
class SessionDescription; }
32namespace cricket {
struct Codec; }
33namespace cricket {
struct RelayServerConfig; }
34namespace cricket {
struct RidDescription; }
35namespace cricket {
struct StreamParams; }
36namespace rtc {
class CopyOnWriteBuffer; }
37namespace rtc {
class IPAddress; }
38namespace rtc {
class RTCCertificate; }
39namespace rtc {
class SocketAddress; }
40namespace rtc {
class StringBuilder; }
41namespace webrtc {
class DataRate; }
42namespace webrtc {
class DataSize; }
43namespace webrtc {
class FieldTrialParameterInterface; }
44namespace webrtc {
class FieldTrialsView; }
45namespace webrtc {
class IceCandidateInterface; }
46namespace webrtc {
class JsepIceCandidate; }
47namespace webrtc {
class JsepSessionDescription; }
48namespace webrtc {
class MediaStreamTrackInterface; }
49namespace webrtc {
class PendingTaskSafetyFlag; }
50namespace webrtc {
class RTCError; }
51namespace webrtc {
class RTCStats; }
52namespace webrtc {
class RTCStatsReport; }
53namespace webrtc {
class RtpHeaderExtensionMap; }
54namespace webrtc {
class RtpReceiverInterface; }
55namespace webrtc {
class RtpReceiverInternal; }
56namespace webrtc {
class RtpSenderInterface; }
57namespace webrtc {
class RtpSenderInternal; }
58namespace webrtc {
class RtpTransceiver; }
59namespace webrtc {
class SessionDescriptionInterface; }
60namespace webrtc {
class TaskQueueFactory; }
61namespace webrtc {
class TimeDelta; }
62namespace webrtc {
class Timestamp; }
63namespace webrtc {
class TransceiverList; }
64namespace webrtc {
class VideoFrameBuffer; }
65namespace webrtc {
struct DataChannelInit; }
66namespace webrtc {
struct H264ProfileLevelId; }
67namespace webrtc {
struct RTPVideoHeader; }
68namespace webrtc {
struct RtcpFeedback; }
69namespace webrtc {
struct RtpCapabilities; }
70namespace webrtc {
struct RtpCodecCapability; }
71namespace webrtc {
struct RtpExtension; }
72namespace webrtc {
struct RtpExtensionSize; }
73namespace webrtc {
struct RtpParameters; }
74namespace webrtc {
struct SdpParseError; }
75namespace webrtc {
struct SsrcInfo; }
82 KMaxEncoderBuffers = 1 << 3,
86 KMaxPreferredPixelFormats = 5,
90 KMaxSimulcastStreams = 3,
94 KMaxSpatialLayers = 5,
99 KMaxTemporalStreams = 1 << 2,
109AV1IsSameProfile(::std::map<::std::string, ::std::string>
const&, ::std::map<::std::string, ::std::string>
const&);
111MCNAPI
char const* AdapterTypeToStatsType(::rtc::AdapterType);
125MCNAPI
void AddParameters(::std::map<::std::string, ::std::string>
const&,
::cricket::Codec*);
129MCNAPI
void AlignedFree(
void*);
131MCNAPI
void* AlignedMalloc(uint64, uint64);
133MCNAPI
char const* CodecTypeToPayloadString(::webrtc::VideoCodecType);
135MCNAPI ::webrtc::TimeDelta CompactNtpRttToTimeDelta(uint);
139MCNAPI ::webrtc::IceCandidateInterface*
142MCNAPI ::std::unique_ptr<::webrtc::SessionDescriptionInterface>
143CreateSessionDescription(::webrtc::SdpType, ::std::string
const&);
145MCNAPI ::std::unique_ptr<::webrtc::SessionDescriptionInterface>
148MCNAPI ::std::unique_ptr<::webrtc::SessionDescriptionInterface> CreateSessionDescription(
150 ::std::string
const&,
151 ::std::string
const&,
152 ::std::unique_ptr<::cricket::SessionDescription>
155MCNAPI ::std::unique_ptr<::webrtc::TaskQueueFactory> CreateTaskQueueStdlibFactory();
157MCNAPI
void CreateTrackWithNoSsrcs(
158 ::std::vector<::std::string>
const&,
160 ::std::vector<::cricket::RidDescription>
const&,
161 ::std::vector<::cricket::StreamParams>*
164MCNAPI
void CreateTracksFromSsrcInfos(
165 ::std::vector<::webrtc::SsrcInfo>
const&,
166 ::std::vector<::std::string>
const&,
168 ::std::vector<::cricket::StreamParams>*,
172MCNAPI ::cricket::Codec GetCodecWithPayloadType(::cricket::MediaType, ::std::vector<::cricket::Codec>
const&,
int);
174MCNAPI
bool GetDtmfCode(
char,
int*);
180MCNAPI
bool GetMinValue(::std::vector<int>
const&,
int*);
182MCNAPI
bool GetParameter(::std::string
const&, ::std::map<::std::string, ::std::string>
const&,
int*);
184MCNAPI uint64 GetRightAlign(uint64, uint64);
186MCNAPI ::std::vector<::std::string const*> GetStatsReferencedIds(
::webrtc::RTCStats const&);
188MCNAPI
void H264GenerateProfileLevelIdForAnswer(
189 ::std::map<::std::string, ::std::string>
const&,
190 ::std::map<::std::string, ::std::string>
const&,
191 ::std::map<::std::string, ::std::string>*
195H264IsSameProfile(::std::map<::std::string, ::std::string>
const&, ::std::map<::std::string, ::std::string>
const&);
203MCNAPI ::std::string_view IceCandidateTypeToString(::webrtc::IceCandidateType);
205MCNAPI ::webrtc::RTCError
208MCNAPI
bool IsFmtpParam(::std::string_view);
210MCNAPI
bool IsLegalRsidName(::std::string_view);
212MCNAPI
bool IsMandatoryHeaderExtension(::std::string
const&);
214MCNAPI
bool IsNewerSequenceNumber(ushort, ushort);
222MCNAPI
bool IsTokenChar(
char);
224MCNAPI
int Leb128Size(uint64);
236MCNAPI
void ParseFieldTrial(::std::initializer_list<::webrtc::FieldTrialParameterInterface*>, ::std::string_view);
238MCNAPI ::std::optional<::webrtc::H264ProfileLevelId> ParseH264ProfileLevelId(
char const*);
240MCNAPI ::webrtc::RTCError ParseIceServersOrError(
241 ::std::vector<::webrtc::PeerConnectionInterface::IceServer>
const&,
242 ::std::set<::rtc::SocketAddress>*,
243 ::std::vector<::cricket::RelayServerConfig>*
254MCNAPI ::std::optional<::webrtc::AV1Profile> ParseSdpForAV1Profile(::std::map<::std::string, ::std::string>
const&);
256MCNAPI ::std::optional<::webrtc::H264ProfileLevelId>
257ParseSdpForH264ProfileLevelId(::std::map<::std::string, ::std::string>
const&);
259MCNAPI ::std::optional<::webrtc::VP9Profile> ParseSdpForVP9Profile(::std::map<::std::string, ::std::string>
const&);
261MCNAPI ::webrtc::VideoCodecType PayloadStringToCodecType(::std::string
const&);
263MCNAPI ::std::optional<::cricket::Codec> PopWildcardCodec(::std::vector<::cricket::Codec>*);
265MCNAPI
int ResolveHostname(::std::string_view,
int, ::std::vector<::rtc::IPAddress>&);
272MCNAPI ::webrtc::RtpTransceiverDirection RtpTransceiverDirectionFromSendRecv(
bool,
bool);
274MCNAPI
bool RtpTransceiverDirectionHasRecv(::webrtc::RtpTransceiverDirection);
276MCNAPI
bool RtpTransceiverDirectionHasSend(::webrtc::RtpTransceiverDirection);
278MCNAPI ::webrtc::RtpTransceiverDirection
279 RtpTransceiverDirectionIntersection(::webrtc::RtpTransceiverDirection, ::webrtc::RtpTransceiverDirection);
281MCNAPI ::webrtc::RtpTransceiverDirection RtpTransceiverDirectionReversed(::webrtc::RtpTransceiverDirection);
283MCNAPI
char const* RtpTransceiverDirectionToString(::webrtc::RtpTransceiverDirection);
285MCNAPI ::webrtc::RtpTransceiverDirection RtpTransceiverDirectionWithRecvSet(::webrtc::RtpTransceiverDirection,
bool);
287MCNAPI ::absl::AnyInvocable<void() &&>
290MCNAPI ::std::string_view ScalabilityModeToString(::webrtc::ScalabilityMode);
302MCNAPI ::std::optional<::webrtc::SdpType> SdpTypeFromString(::std::string
const&);
304MCNAPI
char const* SdpTypeToString(::webrtc::SdpType);
306MCNAPI ::std::optional<::webrtc::AV1Profile> StringToAV1Profile(::std::string_view);
308MCNAPI ::std::optional<::webrtc::VP9Profile> StringToVP9Profile(::std::string
const&);
310MCNAPI ::webrtc::scoped_refptr<::webrtc::RTCStatsReport>
315MCNAPI ::webrtc::RtpCapabilities
316ToRtpCapabilities(::std::vector<::cricket::Codec>
const&, ::std::vector<::webrtc::RtpExtension>
const&);
318MCNAPI ::webrtc::RtpCodecCapability ToRtpCodecCapability(
::cricket::Codec const&);
320MCNAPI ::std::string_view ToString(::webrtc::RTCErrorType);
348VP9IsSameProfile(::std::map<::std::string, ::std::string>
const&, ::std::map<::std::string, ::std::string>
const&);
350MCNAPI
bool ValidAlignment(uint64);
354MCNAPI
bool WriteDataChannelOpenMessage(
355 ::std::string
const&,
356 ::std::string
const&,
357 ::std::optional<::webrtc::Priority>,
359 ::std::optional<int>,
360 ::std::optional<int>,
368MCNAPI
bool WriteFmtpParameters(::std::map<::std::string, ::std::string>
const&,
::rtc::StringBuilder*);
370MCNAPI
int WriteLeb128(uint64, uchar*);
382MCNAPI
bool operator<(
387MCNAPI
bool operator==(
392MCNAPI
bool operator==(
397MCNAPI
bool operator==(
402MCNAPI
bool operator==(
407MCNAPI
bool operator==(
412MCNAPI
bool operator==(
421MCNAPI
bool operator==(
428MCNAPI
bool operator==(
436MCNAPI ::std::add_lvalue_reference_t<char const[]> kBweTypeHistogram();
438MCNAPI ::webrtc::DataRate
const& kCongestionControllerMinBitrate();
440MCNAPI
double const& kDefaultBitratePriority();
442MCNAPI ::std::add_lvalue_reference_t<char const[]> kVP9FmtpProfileId();
Definition AnyInvocable.h:8
Definition Candidate.h:15
Definition ContentInfo.h:12
Definition FeedbackParam.h:7
Definition FeedbackParams.h:12
Definition MediaContentDescription.h:23
Definition SessionDescription.h:18
Definition _HeaderOutputPredefine.h:258
Definition CopyOnWriteBuffer.h:11
Definition SocketAddress.h:12
Definition StringBuilder.h:7
Definition FieldTrialsView.h:7
Definition IceCandidateInterface.h:12
Definition JsepIceCandidate.h:13
Definition JsepSessionDescription.h:17
Definition RtpReceiverInterface.h:24
Definition RtpReceiverProxyWithInternal.h:8
Definition RtpSenderInterface.h:26
Definition RtpSenderProxyWithInternal.h:8
Definition RtpTransceiverProxyWithInternal.h:8
Definition TimeDelta.h:10
Definition Timestamp.h:10
Definition TransceiverList.h:18
Definition scoped_refptr.h:8
Definition DataChannelInit.h:7
Definition H264ProfileLevelId.h:7
Definition RtpParameters.h:7
Definition SdpParseError.h:7