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 // member functions
35 // NOLINTBEGIN
36 MCAPI void ActivateRtcpMux();
37
38 MCAPI ::webrtc::RTCError AddRemoteCandidates(::std::vector<::cricket::Candidate> const&);
39
40 MCAPI ::std::optional<::rtc::SSLRole> GetDtlsRole() const;
41
42 MCAPI bool GetStats(::cricket::TransportStats*);
43
44 MCAPI bool GetTransportStats(::cricket::DtlsTransportInternal*, int, ::cricket::TransportStats*);
45
46 MCAPI
47 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()>);
48
49 MCAPI ::webrtc::RTCError NegotiateAndSetDtlsParameters(::webrtc::SdpType);
50
51 MCAPI ::webrtc::RTCError
52 NegotiateDtlsRole(::webrtc::SdpType, ::cricket::ConnectionRole, ::cricket::ConnectionRole, ::std::optional<::rtc::SSLRole>*);
53
54 MCAPI void SetActiveResetSrtpParams(bool);
55
56 MCAPI ::webrtc::RTCError
57 SetLocalJsepTransportDescription(::cricket::JsepTransportDescription const&, ::webrtc::SdpType);
58
59 MCAPI void SetNeedsIceRestartFlag();
60
61 MCAPI void SetRemoteIceParameters(::cricket::IceParameters const&, ::cricket::IceTransportInternal*);
62
63 MCAPI ::webrtc::RTCError
64 SetRemoteJsepTransportDescription(::cricket::JsepTransportDescription const&, ::webrtc::SdpType);
65
66 MCAPI bool SetRtcpMux(bool, ::webrtc::SdpType, ::cricket::ContentSource);
67
68 MCAPI ::webrtc::RTCError
69 VerifyCertificateFingerprint(::rtc::RTCCertificate const*, ::rtc::SSLFingerprint const*) const;
70
71 MCAPI ~JsepTransport();
72 // NOLINTEND
73
74public:
75 // static functions
76 // NOLINTBEGIN
77 MCAPI static ::webrtc::RTCError
78 SetNegotiatedDtlsParameters(::cricket::DtlsTransportInternal*, ::std::optional<::rtc::SSLRole>, ::rtc::SSLFingerprint*);
79 // NOLINTEND
80
81public:
82 // constructor thunks
83 // NOLINTBEGIN
84 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()>);
85 // NOLINTEND
86
87public:
88 // destructor thunk
89 // NOLINTBEGIN
90 MCAPI void $dtor();
91 // NOLINTEND
92};
93
94} // namespace cricket
Definition DtlsTransportInternal.h:7
Definition IceTransportInternal.h:7
Definition JsepTransport.h:32
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