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&);
111MCAPI
char const* AdapterTypeToStatsType(::rtc::AdapterType);
125MCAPI
void AddParameters(::std::map<::std::string, ::std::string>
const&,
::cricket::Codec*);
129MCAPI
void AlignedFree(
void*);
131MCAPI
void* AlignedMalloc(uint64, uint64);
133MCAPI
char const* CodecTypeToPayloadString(::webrtc::VideoCodecType);
135MCAPI ::webrtc::TimeDelta CompactNtpRttToTimeDelta(uint);
139MCAPI ::webrtc::IceCandidateInterface*
142MCAPI ::std::unique_ptr<::webrtc::SessionDescriptionInterface>
143CreateSessionDescription(::webrtc::SdpType, ::std::string
const&);
145MCAPI ::std::unique_ptr<::webrtc::SessionDescriptionInterface>
148MCAPI ::std::unique_ptr<::webrtc::SessionDescriptionInterface>
149CreateSessionDescription(::webrtc::SdpType, ::std::string
const&, ::std::string
const&, ::std::unique_ptr<::cricket::SessionDescription>);
151MCAPI ::std::unique_ptr<::webrtc::TaskQueueFactory> CreateTaskQueueStdlibFactory();
154CreateTrackWithNoSsrcs(::std::vector<::std::string>
const&, ::std::string_view, ::std::vector<::cricket::RidDescription>
const&, ::std::vector<::cricket::StreamParams>*);
156MCAPI
void CreateTracksFromSsrcInfos(
157 ::std::vector<::webrtc::SsrcInfo>
const&,
158 ::std::vector<::std::string>
const&,
160 ::std::vector<::cricket::StreamParams>*,
164MCAPI ::cricket::Codec GetCodecWithPayloadType(::cricket::MediaType, ::std::vector<::cricket::Codec>
const&,
int);
166MCAPI
bool GetDtmfCode(
char,
int*);
172MCAPI
bool GetMinValue(::std::vector<int>
const&,
int*);
174MCAPI
bool GetParameter(::std::string
const&, ::std::map<::std::string, ::std::string>
const&,
int*);
176MCAPI uint64 GetRightAlign(uint64, uint64);
178MCAPI ::std::vector<::std::string const*> GetStatsReferencedIds(
::webrtc::RTCStats const&);
181H264GenerateProfileLevelIdForAnswer(::std::map<::std::string, ::std::string>
const&, ::std::map<::std::string, ::std::string>
const&, ::std::map<::std::string, ::std::string>*);
184H264IsSameProfile(::std::map<::std::string, ::std::string>
const&, ::std::map<::std::string, ::std::string>
const&);
192MCAPI ::std::string_view IceCandidateTypeToString(::webrtc::IceCandidateType);
194MCAPI ::webrtc::RTCError
197MCAPI
bool IsFmtpParam(::std::string_view);
199MCAPI
bool IsLegalRsidName(::std::string_view);
201MCAPI
bool IsMandatoryHeaderExtension(::std::string
const&);
203MCAPI
bool IsNewerSequenceNumber(ushort, ushort);
211MCAPI
bool IsTokenChar(
char);
213MCAPI
int Leb128Size(uint64);
225MCAPI
void ParseFieldTrial(::std::initializer_list<::webrtc::FieldTrialParameterInterface*>, ::std::string_view);
227MCAPI ::std::optional<::webrtc::H264ProfileLevelId> ParseH264ProfileLevelId(
char const*);
229MCAPI ::webrtc::RTCError
230ParseIceServersOrError(::std::vector<::webrtc::PeerConnectionInterface::IceServer>
const&, ::std::set<::rtc::SocketAddress>*, ::std::vector<::cricket::RelayServerConfig>*);
240MCAPI ::std::optional<::webrtc::AV1Profile> ParseSdpForAV1Profile(::std::map<::std::string, ::std::string>
const&);
242MCAPI ::std::optional<::webrtc::H264ProfileLevelId>
243ParseSdpForH264ProfileLevelId(::std::map<::std::string, ::std::string>
const&);
245MCAPI ::std::optional<::webrtc::VP9Profile> ParseSdpForVP9Profile(::std::map<::std::string, ::std::string>
const&);
247MCAPI ::webrtc::VideoCodecType PayloadStringToCodecType(::std::string
const&);
249MCAPI ::std::optional<::cricket::Codec> PopWildcardCodec(::std::vector<::cricket::Codec>*);
251MCAPI
int ResolveHostname(::std::string_view,
int, ::std::vector<::rtc::IPAddress>&);
258MCAPI ::webrtc::RtpTransceiverDirection RtpTransceiverDirectionFromSendRecv(
bool,
bool);
260MCAPI
bool RtpTransceiverDirectionHasRecv(::webrtc::RtpTransceiverDirection);
262MCAPI
bool RtpTransceiverDirectionHasSend(::webrtc::RtpTransceiverDirection);
264MCAPI ::webrtc::RtpTransceiverDirection
265 RtpTransceiverDirectionIntersection(::webrtc::RtpTransceiverDirection, ::webrtc::RtpTransceiverDirection);
267MCAPI ::webrtc::RtpTransceiverDirection RtpTransceiverDirectionReversed(::webrtc::RtpTransceiverDirection);
269MCAPI
char const* RtpTransceiverDirectionToString(::webrtc::RtpTransceiverDirection);
271MCAPI ::webrtc::RtpTransceiverDirection RtpTransceiverDirectionWithRecvSet(::webrtc::RtpTransceiverDirection,
bool);
273MCAPI ::absl::AnyInvocable<void() &&>
276MCAPI ::std::string_view ScalabilityModeToString(::webrtc::ScalabilityMode);
288MCAPI ::std::optional<::webrtc::SdpType> SdpTypeFromString(::std::string
const&);
290MCAPI
char const* SdpTypeToString(::webrtc::SdpType);
292MCAPI ::std::optional<::webrtc::AV1Profile> StringToAV1Profile(::std::string_view);
294MCAPI ::std::optional<::webrtc::VP9Profile> StringToVP9Profile(::std::string
const&);
296MCAPI ::webrtc::scoped_refptr<::webrtc::RTCStatsReport>
301MCAPI ::webrtc::RtpCapabilities
302ToRtpCapabilities(::std::vector<::cricket::Codec>
const&, ::std::vector<::webrtc::RtpExtension>
const&);
304MCAPI ::webrtc::RtpCodecCapability ToRtpCodecCapability(
::cricket::Codec const&);
306MCAPI ::std::string_view ToString(::webrtc::RTCErrorType);
334VP9IsSameProfile(::std::map<::std::string, ::std::string>
const&, ::std::map<::std::string, ::std::string>
const&);
336MCAPI
bool ValidAlignment(uint64);
341WriteDataChannelOpenMessage(::std::string
const&, ::std::string
const&, ::std::optional<::webrtc::Priority>,
bool, ::std::optional<int>, ::std::optional<int>,
::rtc::CopyOnWriteBuffer*);
347MCAPI
bool WriteFmtpParameters(::std::map<::std::string, ::std::string>
const&,
::rtc::StringBuilder*);
349MCAPI
int WriteLeb128(uint64, uchar*);
397MCAPI ::std::add_lvalue_reference_t<char const[]> kBweTypeHistogram();
399MCAPI ::webrtc::DataRate
const& kCongestionControllerMinBitrate();
401MCAPI
double const& kDefaultBitratePriority();
403MCAPI ::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:238
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