3#include "mc/_HeaderOutputPredefine.h"
6#include "mc/external/cricket/IceRole.h"
7#include "mc/external/rtc/SSLRole.h"
8#include "mc/external/sigslot/has_slots.h"
9#include "mc/external/sigslot/single_threaded.h"
10#include "mc/external/webrtc/SdpType.h"
11#include "mc/external/webrtc/scoped_refptr.h"
29namespace rtc {
class Thread; }
57 virtual bool OnTransportChanged(
108 Config& operator=(Config
const&);
109 Config(Config
const&);
157 JsepTransportController& operator=(JsepTransportController
const&);
158 JsepTransportController(JsepTransportController
const&);
159 JsepTransportController();
164 virtual ~JsepTransportController() =
default;
170 MCNAPI ::webrtc::RTCError
171 AddRemoteCandidates(::std::string
const& transport_name, ::std::vector<::cricket::Candidate>
const& candidates);
175 ::webrtc::SdpType type,
180 MCNAPI ::std::unique_ptr<::cricket::DtlsTransportInternal>
183 MCNAPI ::webrtc::scoped_refptr<::webrtc::IceTransportInterface>
189 ::std::vector<int>
const& encrypted_extension_ids,
190 int rtp_abs_sendtime_extn_id
197 MCNAPI ::std::optional<::rtc::SSLRole>
GetDtlsRole(::std::string
const& mid)
const;
205 MCNAPI ::webrtc::scoped_refptr<::rtc::RTCCertificate>
212 MCNAPI ::webrtc::scoped_refptr<::webrtc::SctpTransport>
GetSctpTransport(::std::string
const& mid)
const;
234 MCNAPI ::std::map<::cricket::ContentGroup const*, ::std::vector<int>>
263 ::webrtc::SdpType type,
271 ::webrtc::SdpType type,
280 ::webrtc::SdpType type,
Definition Candidate.h:15
Definition ContentGroup.h:7
Definition ContentInfo.h:12
Definition DtlsTransportInternal.h:21
Definition IceTransportInternal.h:26
Definition PortAllocator.h:25
Definition SessionDescription.h:18
Definition PacketTransportInternal.h:20
Definition RTCCertificate.h:18
Definition SSLCertChain.h:13
Definition AsyncDnsResolverFactoryInterface.h:16
Definition DataChannelTransportInterface.h:15
Definition DtlsTransport.h:19
Definition Environment.h:7
Definition IceTransportInterface.h:15
Definition JsepTransportController.h:51
static MCAPI void ** $vftable()
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::webrtc::RtpTransportInternal * GetRtpTransport(::std::string_view mid) const
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::webrtc::RTCError MaybeCreateJsepTransport(bool local, ::cricket::ContentInfo const &content_info, ::cricket::SessionDescription const &description)
MCAPI void SetIceConfig(::cricket::IceConfig const &config)
MCAPI ::std::optional<::rtc::SSLRole > GetDtlsRole(::std::string const &mid) const
MCAPI ::webrtc::scoped_refptr<::webrtc::DtlsTransport > LookupDtlsTransportByMid(::std::string const &mid)
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::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 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 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 * $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 OnTransportWritableState_n(::rtc::PacketTransportInternal *transport)
MCAPI void SetNeedsIceRestartFlag()
MCAPI::webrtc::RTCError RollbackTransports()
MCAPI void OnTransportStateChanged_n(::cricket::IceTransportInternal *transport)
MCAPI ::std::vector<::cricket::DtlsTransportInternal * > GetDtlsTransports()
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 ::webrtc::scoped_refptr<::webrtc::SctpTransport > GetSctpTransport(::std::string const &mid) const
MCAPI void MaybeStartGathering()
MCAPI bool NeedsIceRestart(::std::string const &transport_name) const
MCAPI::webrtc::RTCError AddRemoteCandidates(::std::string const &transport_name, ::std::vector<::cricket::Candidate > const &candidates)
Definition RtpTransportInternal.h:21
Definition SctpTransport.h:26
Definition scoped_refptr.h:8
Definition IceConfig.h:10
Definition JsepTransportDescription.h:12
Definition TransportInfo.h:7
Definition TransportStats.h:7
Definition JsepTransportController.h:84