LeviLamina
Loading...
Searching...
No Matches
JsepTransport.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
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"
11
12// auto generated forward declare list
13// clang-format off
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; }
28// clang-format on
29
30namespace cricket {
31
33public:
34 // prevent constructor by default
36
37public:
38 // member functions
39 // NOLINTBEGIN
40 MCNAPI void ActivateRtcpMux();
41
42 MCNAPI ::webrtc::RTCError AddRemoteCandidates(::std::vector<::cricket::Candidate> const&);
43
44 MCNAPI ::std::optional<::rtc::SSLRole> GetDtlsRole() const;
45
47
49
51 ::std::string const&,
55 ::std::unique_ptr<::webrtc::RtpTransport>,
56 ::std::unique_ptr<::webrtc::SrtpTransport>,
57 ::std::unique_ptr<::webrtc::DtlsSrtpTransport>,
58 ::std::unique_ptr<::cricket::DtlsTransportInternal>,
59 ::std::unique_ptr<::cricket::DtlsTransportInternal>,
60 ::std::unique_ptr<::cricket::SctpTransportInternal>,
61 ::std::function<void()>
62 );
63
64 MCNAPI ::webrtc::RTCError NegotiateAndSetDtlsParameters(::webrtc::SdpType);
65
66 MCNAPI ::webrtc::RTCError NegotiateDtlsRole(
67 ::webrtc::SdpType,
68 ::cricket::ConnectionRole,
69 ::cricket::ConnectionRole,
70 ::std::optional<::rtc::SSLRole>*
71 );
72
73 MCNAPI void SetActiveResetSrtpParams(bool);
74
75 MCNAPI ::webrtc::RTCError
77
79
81
82 MCNAPI ::webrtc::RTCError
84
85 MCNAPI bool SetRtcpMux(bool, ::webrtc::SdpType, ::cricket::ContentSource);
86
87 MCNAPI ::webrtc::RTCError
89
91 // NOLINTEND
92
93public:
94 // static functions
95 // NOLINTBEGIN
96 MCNAPI static ::webrtc::RTCError SetNegotiatedDtlsParameters(
98 ::std::optional<::rtc::SSLRole>,
100 );
101 // NOLINTEND
102
103public:
104 // constructor thunks
105 // NOLINTBEGIN
106 MCNAPI void* $ctor(
107 ::std::string const&,
111 ::std::unique_ptr<::webrtc::RtpTransport>,
112 ::std::unique_ptr<::webrtc::SrtpTransport>,
113 ::std::unique_ptr<::webrtc::DtlsSrtpTransport>,
114 ::std::unique_ptr<::cricket::DtlsTransportInternal>,
115 ::std::unique_ptr<::cricket::DtlsTransportInternal>,
116 ::std::unique_ptr<::cricket::SctpTransportInternal>,
117 ::std::function<void()>
118 );
119 // NOLINTEND
120
121public:
122 // destructor thunk
123 // NOLINTBEGIN
124 MCNAPI void $dtor();
125 // NOLINTEND
126};
127
128} // namespace cricket
Definition DtlsTransportInternal.h:7
Definition IceTransportInternal.h:7
Definition JsepTransport.h:32
MCAPI::webrtc::RTCError SetRemoteJsepTransportDescription(::cricket::JsepTransportDescription const &, ::webrtc::SdpType)
MCAPI ::std::optional<::rtc::SSLRole > GetDtlsRole() const
MCAPI void SetRemoteIceParameters(::cricket::IceParameters const &, ::cricket::IceTransportInternal *)
MCAPI void * $ctor(::std::string const &, ::webrtc::scoped_refptr<::rtc::RTCCertificate > const &, ::webrtc::scoped_refptr<::webrtc::IceTransportInterface >, ::webrtc::scoped_refptr<::webrtc::IceTransportInterface >, ::std::unique_ptr<::webrtc::RtpTransport >, ::std::unique_ptr<::webrtc::SrtpTransport >, ::std::unique_ptr<::webrtc::DtlsSrtpTransport >, ::std::unique_ptr<::cricket::DtlsTransportInternal >, ::std::unique_ptr<::cricket::DtlsTransportInternal >, ::std::unique_ptr<::cricket::SctpTransportInternal >, ::std::function< void()>)
static MCAPI ::webrtc::RTCError SetNegotiatedDtlsParameters(::cricket::DtlsTransportInternal *, ::std::optional<::rtc::SSLRole >, ::rtc::SSLFingerprint *)
MCAPI bool GetTransportStats(::cricket::DtlsTransportInternal *, int, ::cricket::TransportStats *)
MCAPI bool GetStats(::cricket::TransportStats *)
MCAPI bool SetRtcpMux(bool, ::webrtc::SdpType, ::cricket::ContentSource)
MCAPI::webrtc::RTCError AddRemoteCandidates(::std::vector<::cricket::Candidate > const &)
MCAPI void ActivateRtcpMux()
MCAPI void SetActiveResetSrtpParams(bool)
MCAPI::webrtc::RTCError NegotiateAndSetDtlsParameters(::webrtc::SdpType)
MCAPI void SetNeedsIceRestartFlag()
MCAPI::webrtc::RTCError NegotiateDtlsRole(::webrtc::SdpType, ::cricket::ConnectionRole, ::cricket::ConnectionRole, ::std::optional<::rtc::SSLRole > *)
MCAPI JsepTransport(::std::string const &, ::webrtc::scoped_refptr<::rtc::RTCCertificate > const &, ::webrtc::scoped_refptr<::webrtc::IceTransportInterface >, ::webrtc::scoped_refptr<::webrtc::IceTransportInterface >, ::std::unique_ptr<::webrtc::RtpTransport >, ::std::unique_ptr<::webrtc::SrtpTransport >, ::std::unique_ptr<::webrtc::DtlsSrtpTransport >, ::std::unique_ptr<::cricket::DtlsTransportInternal >, ::std::unique_ptr<::cricket::DtlsTransportInternal >, ::std::unique_ptr<::cricket::SctpTransportInternal >, ::std::function< void()>)
MCAPI::webrtc::RTCError SetLocalJsepTransportDescription(::cricket::JsepTransportDescription const &, ::webrtc::SdpType)
MCAPI::webrtc::RTCError VerifyCertificateFingerprint(::rtc::RTCCertificate const *, ::rtc::SSLFingerprint const *) 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