3#include "mc/_HeaderOutputPredefine.h"
6#include "mc/external/cricket/IceRole.h"
7#include "mc/external/rtc/SSLHandshakeError.h"
8#include "mc/external/rtc/SSLRole.h"
9#include "mc/external/sigslot/has_slots.h"
10#include "mc/external/sigslot/single_threaded.h"
11#include "mc/external/webrtc/SdpType.h"
12#include "mc/external/webrtc/scoped_refptr.h"
16namespace cricket {
class Candidate; }
17namespace cricket {
class ContentGroup; }
18namespace cricket {
class ContentInfo; }
19namespace cricket {
class DtlsTransportInternal; }
20namespace cricket {
class IceTransportInternal; }
21namespace cricket {
class JsepTransport; }
22namespace cricket {
class PortAllocator; }
23namespace cricket {
class SessionDescription; }
24namespace cricket {
struct CandidatePairChangeEvent; }
25namespace cricket {
struct IceCandidateErrorEvent; }
26namespace cricket {
struct IceConfig; }
27namespace cricket {
struct JsepTransportDescription; }
28namespace cricket {
struct TransportInfo; }
29namespace cricket {
struct TransportStats; }
30namespace rtc {
class CopyOnWriteBuffer; }
31namespace rtc {
class PacketTransportInternal; }
32namespace rtc {
class RTCCertificate; }
33namespace rtc {
class SSLCertChain; }
34namespace rtc {
class Thread; }
35namespace webrtc {
class AsyncDnsResolverFactoryInterface; }
36namespace webrtc {
class DataChannelTransportInterface; }
37namespace webrtc {
class DtlsSrtpTransport; }
38namespace webrtc {
class DtlsTransport; }
39namespace webrtc {
class Environment; }
40namespace webrtc {
class IceTransportInterface; }
41namespace webrtc {
class RTCError; }
42namespace webrtc {
class RtpPacketReceived; }
43namespace webrtc {
class RtpTransport; }
44namespace webrtc {
class RtpTransportInternal; }
45namespace webrtc {
class SctpTransport; }
67 virtual bool OnTransportChanged(
181 MCNAPI ::webrtc::RTCError
182 AddRemoteCandidates(::std::string
const& transport_name, ::std::vector<::cricket::Candidate>
const& candidates);
186 ::webrtc::SdpType type,
192 ::std::string
const& transport_name,
197 MCNAPI ::std::unique_ptr<::cricket::DtlsTransportInternal>
200 MCNAPI ::webrtc::scoped_refptr<::webrtc::IceTransportInterface>
206 ::std::vector<int>
const& encrypted_extension_ids,
207 int rtp_abs_sendtime_extn_id
211 ::std::string
const& transport_name,
221 ::webrtc::SdpType type,
229 MCNAPI ::std::optional<::rtc::SSLRole>
GetDtlsRole(::std::string
const& mid)
const;
247 MCNAPI ::webrtc::scoped_refptr<::rtc::RTCCertificate>
256 MCNAPI ::webrtc::scoped_refptr<::webrtc::SctpTransport>
GetSctpTransport(::std::string
const& mid)
const;
283 MCNAPI ::std::map<::cricket::ContentGroup const*, ::std::vector<int>>
304 ::std::vector<::cricket::Candidate>
const& candidates
334 ::webrtc::SdpType type,
342 ::webrtc::SdpType type,
351 ::webrtc::SdpType type,
Definition Candidate.h:15
Definition ContentGroup.h:7
Definition ContentInfo.h:12
Definition DtlsTransportInternal.h:21
Definition IceTransportInternal.h:26
Definition JsepTransport.h:32
Definition PortAllocator.h:25
Definition SessionDescription.h:18
Definition CopyOnWriteBuffer.h:11
Definition PacketTransportInternal.h:20
Definition AsyncDnsResolverFactoryInterface.h:16
Definition DataChannelTransportInterface.h:15
Definition Environment.h:7
Definition JsepTransportController.h:59
static MCAPI void ** $vftable()
Definition JsepTransportController.h:50
MCAPI bool SetLocalCertificate(::webrtc::scoped_refptr<::rtc::RTCCertificate > const &certificate)
MCAPI::webrtc::RTCError SetLocalDescription(::webrtc::SdpType type, ::cricket::SessionDescription const *local_desc, ::cricket::SessionDescription const *remote_desc)
MCAPI void OnTransportCandidatesRemoved_n(::cricket::IceTransportInternal *transport, ::std::vector<::cricket::Candidate > const &candidates)
MCAPI::cricket::JsepTransport * GetJsepTransportByName(::std::string const &transport_name)
MCAPI::cricket::JsepTransport const * GetJsepTransportForMid(::std::string const &) const
MCAPI::webrtc::RtpTransportInternal * GetRtpTransport(::std::string_view mid) const
MCAPI void OnDtlsHandshakeError(::rtc::SSLHandshakeError error)
MCAPI void SetActiveResetSrtpParams(bool active_reset_srtp_params)
MCAPI::webrtc::RTCError ValidateContent(::cricket::ContentInfo const &content_info)
MCAPI::webrtc::RTCError SetRemoteDescription(::webrtc::SdpType type, ::cricket::SessionDescription const *local_desc, ::cricket::SessionDescription const *remote_desc)
MCAPI::cricket::IceRole DetermineIceRole(::cricket::JsepTransport *jsep_transport, ::cricket::TransportInfo const &transport_info, ::webrtc::SdpType type, bool local)
MCAPI::webrtc::RTCError MaybeCreateJsepTransport(bool local, ::cricket::ContentInfo const &content_info, ::cricket::SessionDescription const &description)
MCAPI void SetIceConfig(::cricket::IceConfig const &config)
MCAPI void OnTransportGatheringState_n(::cricket::IceTransportInternal *transport)
MCAPI ::std::optional<::rtc::SSLRole > GetDtlsRole(::std::string const &mid) const
MCAPI ::webrtc::scoped_refptr<::webrtc::DtlsTransport > LookupDtlsTransportByMid(::std::string const &mid)
MCAPI bool HandleBundledContent(::cricket::ContentInfo const &content_info, ::cricket::ContentGroup const &bundle_group)
MCAPI::cricket::JsepTransport const * GetJsepTransportForMid(::std::string_view mid) const
MCAPI ::webrtc::scoped_refptr<::webrtc::IceTransportInterface > CreateIceTransport(::std::string const &transport_name, bool rtcp)
static MCAPI void ** $vftable()
MCAPI::cricket::JsepTransportDescription CreateJsepTransportDescription(::cricket::ContentInfo const &content_info, ::cricket::TransportInfo const &transport_info, ::std::vector< int > const &encrypted_extension_ids, int rtp_abs_sendtime_extn_id)
MCAPI bool GetStats(::std::string const &transport_name, ::cricket::TransportStats *stats)
MCAPI int GetRtpAbsSendTimeHeaderExtensionId(::cricket::ContentInfo const &content_info)
MCAPI::cricket::DtlsTransportInternal * GetDtlsTransport(::std::string const &mid)
MCAPI void OnTransportReceivingState_n(::rtc::PacketTransportInternal *transport)
MCAPI::webrtc::RTCError RemoveRemoteCandidates(::std::vector<::cricket::Candidate > const &candidates)
MCAPI void SetIceRole_n(::cricket::IceRole ice_role)
MCAPI void OnTransportCandidatePairChanged_n(::cricket::CandidatePairChangeEvent const &event)
MCAPI void OnTransportCandidateGathered_n(::cricket::IceTransportInternal *transport, ::cricket::Candidate const &candidate)
MCAPI ::webrtc::scoped_refptr<::rtc::RTCCertificate > GetLocalCertificate(::std::string const &transport_name) const
MCAPI ::std::map<::cricket::ContentGroup const *, ::std::vector< int > > MergeEncryptedHeaderExtensionIdsForBundles(::cricket::SessionDescription const *description)
MCAPI::webrtc::DataChannelTransportInterface * GetDataChannelTransport(::std::string const &mid) const
MCAPI ::std::unique_ptr<::rtc::SSLCertChain > GetRemoteSSLCertChain(::std::string const &transport_name) const
MCAPI void OnRtcpPacketReceived_n(::rtc::CopyOnWriteBuffer *packet, int64 packet_time_us)
MCAPI JsepTransportController(::webrtc::Environment const &env, ::rtc::Thread *network_thread, ::cricket::PortAllocator *port_allocator, ::webrtc::AsyncDnsResolverFactoryInterface *async_dns_resolver_factory, ::webrtc::JsepTransportController::Config config)
MCAPI void OnUnDemuxableRtpPacketReceived_n(::webrtc::RtpPacketReceived const &packet)
MCAPI void * $ctor(::webrtc::Environment const &env, ::rtc::Thread *network_thread, ::cricket::PortAllocator *port_allocator, ::webrtc::AsyncDnsResolverFactoryInterface *async_dns_resolver_factory, ::webrtc::JsepTransportController::Config config)
MCAPI void UpdateAggregateStates_n()
MCAPI::webrtc::RTCError ValidateAndMaybeUpdateBundleGroups(bool local, ::webrtc::SdpType type, ::cricket::SessionDescription const *local_desc, ::cricket::SessionDescription const *remote_desc)
MCAPI void DestroyAllJsepTransports_n()
MCAPI void OnTransportWritableState_n(::rtc::PacketTransportInternal *transport)
MCAPI void HandleRejectedContent(::cricket::ContentInfo const &content_info)
MCAPI void SetNeedsIceRestartFlag()
MCAPI::webrtc::RTCError RollbackTransports()
MCAPI void OnTransportStateChanged_n(::cricket::IceTransportInternal *transport)
MCAPI::cricket::JsepTransport const * GetJsepTransportByName(::std::string const &) const
MCAPI ::std::vector<::cricket::DtlsTransportInternal * > GetDtlsTransports()
MCAPI ::std::unique_ptr<::webrtc::RtpTransport > CreateUnencryptedRtpTransport(::std::string const &transport_name, ::rtc::PacketTransportInternal *rtp_packet_transport, ::rtc::PacketTransportInternal *rtcp_packet_transport)
MCAPI bool OnTransportChanged(::std::string const &mid, ::cricket::JsepTransport *jsep_transport)
MCAPI ::std::vector< int > GetEncryptedHeaderExtensionIds(::cricket::ContentInfo const &content_info)
MCAPI void OnTransportRoleConflict_n(::cricket::IceTransportInternal *transport)
MCAPI ::std::vector<::cricket::DtlsTransportInternal * > GetActiveDtlsTransports()
MCAPI ::std::unique_ptr<::cricket::DtlsTransportInternal > CreateDtlsTransport(::cricket::ContentInfo const &content_info, ::cricket::IceTransportInternal *ice)
MCAPI::webrtc::RTCError ApplyDescription_n(bool local, ::webrtc::SdpType type, ::cricket::SessionDescription const *local_desc, ::cricket::SessionDescription const *remote_desc)
MCAPI void OnTransportCandidateError_n(::cricket::IceTransportInternal *transport, ::cricket::IceCandidateErrorEvent const &event)
MCAPI ::webrtc::scoped_refptr<::webrtc::SctpTransport > GetSctpTransport(::std::string const &mid) const
MCAPI void MaybeStartGathering()
MCAPI bool NeedsIceRestart(::std::string const &transport_name) const
MCAPI ::std::unique_ptr<::webrtc::DtlsSrtpTransport > CreateDtlsSrtpTransport(::std::string const &transport_name, ::cricket::DtlsTransportInternal *rtp_dtls_transport, ::cricket::DtlsTransportInternal *rtcp_dtls_transport)
MCAPI::webrtc::RTCError AddRemoteCandidates(::std::string const &transport_name, ::std::vector<::cricket::Candidate > const &candidates)
MCAPI::cricket::JsepTransport * GetJsepTransportForMid(::std::string const &mid)
Definition RtpPacketReceived.h:16
Definition RtpTransportInternal.h:21
Definition scoped_refptr.h:8
Definition CandidatePairChangeEvent.h:7
Definition IceCandidateErrorEvent.h:7
Definition IceConfig.h:10
Definition TransportInfo.h:7
Definition TransportStats.h:7
Definition JsepTransportController.h:94