3#include "mc/_HeaderOutputPredefine.h"
6#include "mc/external/sigslot/has_slots.h"
7#include "mc/external/sigslot/single_threaded.h"
8#include "mc/external/webrtc/IceRole.h"
9#include "mc/external/webrtc/PayloadTypeSuggester.h"
10#include "mc/external/webrtc/RTCErrorOr.h"
11#include "mc/external/webrtc/SSLRole.h"
12#include "mc/external/webrtc/SdpType.h"
13#include "mc/external/webrtc/scoped_refptr.h"
39namespace webrtc {
class Thread; }
40namespace webrtc {
struct Codec; }
65 virtual bool OnTransportChanged(
66 ::std::string
const& mid,
109 Config& operator=(Config
const&);
110 Config(Config
const&);
159 JsepTransportController& operator=(JsepTransportController
const&);
160 JsepTransportController(JsepTransportController
const&);
161 JsepTransportController();
166 virtual ~JsepTransportController() =
default;
168 virtual ::webrtc::RTCErrorOr<::webrtc::PayloadType>
171 virtual ::webrtc::RTCError AddLocalMapping(
172 ::std::string
const& mid,
181 MCNAPI ::webrtc::RTCError
182 AddRemoteCandidates(::std::string
const& transport_name, ::std::vector<::webrtc::Candidate>
const& candidates);
186 ::webrtc::SdpType type,
191 MCNAPI ::std::unique_ptr<::webrtc::DtlsTransportInternal>
194 MCNAPI ::webrtc::scoped_refptr<::webrtc::IceTransportInterface>
200 ::std::vector<int>
const& encrypted_extension_ids,
201 int rtp_abs_sendtime_extn_id
208 MCNAPI ::std::optional<::webrtc::SSLRole>
GetDtlsRole(::std::string
const& mid)
const;
216 MCNAPI ::webrtc::scoped_refptr<::webrtc::RTCCertificate>
223 MCNAPI ::webrtc::scoped_refptr<::webrtc::SctpTransport>
GetSctpTransport(::std::string
const& mid)
const;
247 MCNAPI ::std::map<::webrtc::ContentGroup const*, ::std::vector<int>>
276 ::webrtc::SdpType type,
284 ::webrtc::SdpType type,
293 ::webrtc::SdpType type,
318 MCNAPI ::webrtc::RTCErrorOr<::webrtc::PayloadType>
321 MCNAPI ::webrtc::RTCError
Definition AsyncDnsResolverFactoryInterface.h:16
Definition Candidate.h:15
Definition ContentGroup.h:7
Definition ContentInfo.h:12
Definition DataChannelTransportInterface.h:16
Definition DtlsTransportInternal.h:22
Definition DtlsTransport.h:19
Definition Environment.h:7
Definition IceCandidate.h:12
Definition IceTransportInterface.h:15
Definition IceTransportInternal.h:29
Definition JsepTransportController.h:59
static MCAPI void ** $vftable()
MCAPI ::std::map<::webrtc::ContentGroup const *, ::std::vector< int > > MergeEncryptedHeaderExtensionIdsForBundles(::webrtc::SessionDescription const *description)
MCAPI::webrtc::RTCError $AddLocalMapping(::std::string const &mid, ::webrtc::PayloadType payload_type, ::webrtc::Codec const &codec)
MCAPI bool SetLocalCertificate(::webrtc::scoped_refptr<::webrtc::RTCCertificate > const &certificate)
MCAPI::webrtc::RtpTransportInternal * GetRtpTransport(::std::string_view mid) const
MCAPI void SetActiveResetSrtpParams(bool active_reset_srtp_params)
MCAPI::webrtc::RTCError ValidateContent(::webrtc::ContentInfo const &content_info)
MCAPI void OnTransportStateChanged_n(::webrtc::IceTransportInternal *transport)
MCAPI ::std::unique_ptr<::webrtc::SSLCertChain > GetRemoteSSLCertChain(::std::string const &transport_name) const
MCAPI bool GetStats(::std::string const &transport_name, ::webrtc::TransportStats *stats) const
MCAPI ::std::vector<::webrtc::DtlsTransportInternal * > GetDtlsTransports()
MCAPI::webrtc::RTCError ValidateAndMaybeUpdateBundleGroups(bool local, ::webrtc::SdpType type, ::webrtc::SessionDescription const *local_desc, ::webrtc::SessionDescription const *remote_desc)
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)
MCAPI ::webrtc::RTCErrorOr<::webrtc::PayloadType > $SuggestPayloadType(::std::string const &mid, ::webrtc::Codec codec)
MCAPI::webrtc::DtlsTransportInternal * GetDtlsTransport(::std::string const &mid)
MCAPI::webrtc::RTCError SetRemoteDescription(::webrtc::SdpType type, ::webrtc::SessionDescription const *local_desc, ::webrtc::SessionDescription const *remote_desc)
MCAPI void OnTransportRoleConflict_n(::webrtc::IceTransportInternal *transport)
MCAPI void OnTransportCandidateGathered_n(::webrtc::IceTransportInternal *transport, ::webrtc::Candidate const &candidate)
MCAPI void SetIceRole_n(::webrtc::IceRole ice_role)
MCAPI ::std::vector< int > GetEncryptedHeaderExtensionIds(::webrtc::ContentInfo const &content_info)
MCAPI::webrtc::DataChannelTransportInterface * GetDataChannelTransport(::std::string const &mid) const
MCAPI::webrtc::JsepTransportDescription CreateJsepTransportDescription(::webrtc::ContentInfo const &content_info, ::webrtc::TransportInfo const &transport_info, ::std::vector< int > const &encrypted_extension_ids, int rtp_abs_sendtime_extn_id)
MCAPI void OnTransportReceivingState_n(::webrtc::PacketTransportInternal *transport)
MCAPI ::std::optional<::webrtc::SSLRole > GetDtlsRole(::std::string const &mid) const
MCAPI void OnTransportWritableState_n(::webrtc::PacketTransportInternal *transport)
static MCAPI void ** $vftableForPayloadTypeSuggester()
MCAPI::webrtc::RTCError SetLocalDescription(::webrtc::SdpType type, ::webrtc::SessionDescription const *local_desc, ::webrtc::SessionDescription const *remote_desc)
MCAPI void UpdateAggregateStates_n()
MCAPI void SetIceConfig(::webrtc::IceConfig const &config)
MCAPI void * $ctor(::webrtc::Environment const &env, ::webrtc::Thread *network_thread, ::webrtc::PortAllocator *port_allocator, ::webrtc::AsyncDnsResolverFactoryInterface *async_dns_resolver_factory, ::webrtc::LocalNetworkAccessPermissionFactoryInterface *lna_permission_factory, ::webrtc::PayloadTypePicker &payload_type_picker, ::webrtc::JsepTransportController::Config config)
MCAPI::webrtc::RTCError AddRemoteCandidates(::std::string const &transport_name, ::std::vector<::webrtc::Candidate > const &candidates)
MCAPI bool RemoveRemoteCandidate(::webrtc::IceCandidate const *c)
MCAPI void SetNeedsIceRestartFlag()
MCAPI::webrtc::RTCError RollbackTransports()
MCAPI ::std::vector<::webrtc::DtlsTransportInternal * > GetActiveDtlsTransports()
static MCAPI void ** $vftableForHasSlots()
MCAPI ::std::unique_ptr<::webrtc::DtlsTransportInternal > CreateDtlsTransport(::webrtc::ContentInfo const &content_info, ::webrtc::IceTransportInternal *ice)
MCAPI ::webrtc::scoped_refptr<::webrtc::SctpTransport > GetSctpTransport(::std::string const &mid) const
MCAPI void MaybeStartGathering()
MCAPI::webrtc::RTCError ApplyDescription_n(bool local, ::webrtc::SdpType type, ::webrtc::SessionDescription const *local_desc, ::webrtc::SessionDescription const *remote_desc)
MCAPI::webrtc::RTCError MaybeCreateJsepTransport(bool local, ::webrtc::ContentInfo const &content_info, ::webrtc::SessionDescription const &description)
MCAPI bool NeedsIceRestart(::std::string const &transport_name) const
MCAPI JsepTransportController(::webrtc::Environment const &env, ::webrtc::Thread *network_thread, ::webrtc::PortAllocator *port_allocator, ::webrtc::AsyncDnsResolverFactoryInterface *async_dns_resolver_factory, ::webrtc::LocalNetworkAccessPermissionFactoryInterface *lna_permission_factory, ::webrtc::PayloadTypePicker &payload_type_picker, ::webrtc::JsepTransportController::Config config)
MCAPI ::webrtc::scoped_refptr<::webrtc::RTCCertificate > GetLocalCertificate(::std::string const &transport_name) const
Definition LocalNetworkAccessPermissionFactoryInterface.h:12
Definition PacketTransportInternal.h:20
Definition PayloadTypePicker.h:18
Definition PayloadTypeSuggester.h:17
Definition PayloadType.h:15
Definition PortAllocator.h:26
Definition RTCCertificate.h:18
Definition RtpTransportInternal.h:21
Definition SSLCertChain.h:13
Definition SctpTransport.h:28
Definition SessionDescription.h:18
Definition scoped_refptr.h:8
Definition IceConfig.h:16
Definition JsepTransportController.h:86
Definition JsepTransportDescription.h:12
Definition TransportInfo.h:7
Definition TransportStats.h:7