3#include "mc/_HeaderOutputPredefine.h"
6#include "mc/external/cricket/ConnectionRole.h"
7#include "mc/external/cricket/ContentSource.h"
8#include "mc/external/rtc/SSLRole.h"
9#include "mc/external/webrtc/SdpType.h"
10#include "mc/external/webrtc/scoped_refptr.h"
14namespace cricket {
class Candidate; }
15namespace cricket {
class DtlsTransportInternal; }
16namespace cricket {
class IceTransportInternal; }
17namespace cricket {
class SctpTransportInternal; }
18namespace cricket {
struct IceParameters; }
19namespace cricket {
struct JsepTransportDescription; }
20namespace cricket {
struct TransportStats; }
21namespace rtc {
class RTCCertificate; }
22namespace rtc {
struct SSLFingerprint; }
23namespace webrtc {
class DtlsSrtpTransport; }
24namespace webrtc {
class IceTransportInterface; }
25namespace webrtc {
class RTCError; }
26namespace webrtc {
class RtpTransport; }
27namespace webrtc {
class SrtpTransport; }
80 ::std::string
const& mid,
84 ::std::unique_ptr<::webrtc::RtpTransport> unencrypted_rtp_transport,
85 ::std::unique_ptr<::webrtc::SrtpTransport> sdes_transport,
86 ::std::unique_ptr<::webrtc::DtlsSrtpTransport> dtls_srtp_transport,
87 ::std::unique_ptr<::cricket::DtlsTransportInternal> rtp_dtls_transport,
88 ::std::unique_ptr<::cricket::DtlsTransportInternal> rtcp_dtls_transport,
89 ::std::unique_ptr<::cricket::SctpTransportInternal> sctp_transport,
90 ::std::function<
void()> rtcp_mux_active_callback
96 ::webrtc::SdpType local_description_type,
97 ::cricket::ConnectionRole local_connection_role,
98 ::cricket::ConnectionRole remote_connection_role,
99 ::std::optional<::rtc::SSLRole>* negotiated_dtls_role
106 ::webrtc::SdpType type
118 ::webrtc::SdpType type
121 MCNAPI
bool SetRtcpMux(
bool enable, ::webrtc::SdpType type, ::cricket::ContentSource source);
136 ::std::optional<::rtc::SSLRole> dtls_role,
145 ::std::string
const& mid,
149 ::std::unique_ptr<::webrtc::RtpTransport> unencrypted_rtp_transport,
150 ::std::unique_ptr<::webrtc::SrtpTransport> sdes_transport,
151 ::std::unique_ptr<::webrtc::DtlsSrtpTransport> dtls_srtp_transport,
152 ::std::unique_ptr<::cricket::DtlsTransportInternal> rtp_dtls_transport,
153 ::std::unique_ptr<::cricket::DtlsTransportInternal> rtcp_dtls_transport,
154 ::std::unique_ptr<::cricket::SctpTransportInternal> sctp_transport,
155 ::std::function<
void()> rtcp_mux_active_callback
Definition DtlsTransportInternal.h:21
Definition IceTransportInternal.h:26
Definition JsepTransport.h:32
MCAPI::webrtc::RTCError NegotiateAndSetDtlsParameters(::webrtc::SdpType local_description_type)
MCAPI::webrtc::RTCError SetRemoteJsepTransportDescription(::cricket::JsepTransportDescription const &jsep_description, ::webrtc::SdpType type)
MCAPI ::std::optional<::rtc::SSLRole > GetDtlsRole() const
MCAPI bool GetTransportStats(::cricket::DtlsTransportInternal *dtls_transport, int component, ::cricket::TransportStats *stats)
MCAPI void * $ctor(::std::string const &mid, ::webrtc::scoped_refptr<::rtc::RTCCertificate > const &local_certificate, ::webrtc::scoped_refptr<::webrtc::IceTransportInterface > ice_transport, ::webrtc::scoped_refptr<::webrtc::IceTransportInterface > rtcp_ice_transport, ::std::unique_ptr<::webrtc::RtpTransport > unencrypted_rtp_transport, ::std::unique_ptr<::webrtc::SrtpTransport > sdes_transport, ::std::unique_ptr<::webrtc::DtlsSrtpTransport > dtls_srtp_transport, ::std::unique_ptr<::cricket::DtlsTransportInternal > rtp_dtls_transport, ::std::unique_ptr<::cricket::DtlsTransportInternal > rtcp_dtls_transport, ::std::unique_ptr<::cricket::SctpTransportInternal > sctp_transport, ::std::function< void()> rtcp_mux_active_callback)
MCAPI::webrtc::RTCError SetLocalJsepTransportDescription(::cricket::JsepTransportDescription const &jsep_description, ::webrtc::SdpType type)
MCAPI::webrtc::RTCError AddRemoteCandidates(::std::vector<::cricket::Candidate > const &candidates)
MCAPI bool SetRtcpMux(bool enable, ::webrtc::SdpType type, ::cricket::ContentSource source)
MCAPI::webrtc::RTCError NegotiateDtlsRole(::webrtc::SdpType local_description_type, ::cricket::ConnectionRole local_connection_role, ::cricket::ConnectionRole remote_connection_role, ::std::optional<::rtc::SSLRole > *negotiated_dtls_role)
MCAPI void ActivateRtcpMux()
MCAPI bool GetStats(::cricket::TransportStats *stats)
MCAPI void SetRemoteIceParameters(::cricket::IceParameters const &ice_parameters, ::cricket::IceTransportInternal *ice_transport)
static MCAPI ::webrtc::RTCError SetNegotiatedDtlsParameters(::cricket::DtlsTransportInternal *dtls_transport, ::std::optional<::rtc::SSLRole > dtls_role, ::rtc::SSLFingerprint *remote_fingerprint)
MCAPI void SetActiveResetSrtpParams(bool active_reset_srtp_params)
MCAPI JsepTransport(::std::string const &mid, ::webrtc::scoped_refptr<::rtc::RTCCertificate > const &local_certificate, ::webrtc::scoped_refptr<::webrtc::IceTransportInterface > ice_transport, ::webrtc::scoped_refptr<::webrtc::IceTransportInterface > rtcp_ice_transport, ::std::unique_ptr<::webrtc::RtpTransport > unencrypted_rtp_transport, ::std::unique_ptr<::webrtc::SrtpTransport > sdes_transport, ::std::unique_ptr<::webrtc::DtlsSrtpTransport > dtls_srtp_transport, ::std::unique_ptr<::cricket::DtlsTransportInternal > rtp_dtls_transport, ::std::unique_ptr<::cricket::DtlsTransportInternal > rtcp_dtls_transport, ::std::unique_ptr<::cricket::SctpTransportInternal > sctp_transport, ::std::function< void()> rtcp_mux_active_callback)
MCAPI void SetNeedsIceRestartFlag()
MCAPI::webrtc::RTCError VerifyCertificateFingerprint(::rtc::RTCCertificate const *certificate, ::rtc::SSLFingerprint const *fingerprint) const
Definition RTCCertificate.h:18
Definition scoped_refptr.h:8
Definition IceParameters.h:12
Definition JsepTransportDescription.h:12
Definition TransportStats.h:7
Definition SSLFingerprint.h:14