LeviLamina
Loading...
Searching...
No Matches
PeerConnectionSdpMethods.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/external/cricket/MediaType.h"
7#include "mc/external/rtc/SSLRole.h"
8#include "mc/external/webrtc/PeerConnectionFactoryInterface.h"
9#include "mc/external/webrtc/PeerConnectionInterface.h"
10#include "mc/external/webrtc/RTCErrorOr.h"
11#include "mc/external/webrtc/UsageEvent.h"
12#include "mc/external/webrtc/scoped_refptr.h"
13
14// auto generated forward declare list
15// clang-format off
16namespace cricket { class Candidate; }
17namespace cricket { class ContentGroup; }
18namespace cricket { class PortAllocator; }
19namespace cricket { class SessionDescription; }
20namespace webrtc { class Call; }
21namespace webrtc { class DataChannelController; }
22namespace webrtc { class FieldTrialsView; }
23namespace webrtc { class JsepTransportController; }
24namespace webrtc { class LegacyStatsCollector; }
25namespace webrtc { class MediaStreamTrackInterface; }
26namespace webrtc { class PeerConnectionMessageHandler; }
27namespace webrtc { class PeerConnectionObserver; }
28namespace webrtc { class RTCError; }
29namespace webrtc { class RtpTransceiverInterface; }
30namespace webrtc { class RtpTransmissionManager; }
31namespace webrtc { class SessionDescriptionInterface; }
32namespace webrtc { struct CryptoOptions; }
33namespace webrtc { struct RtpTransceiverInit; }
34// clang-format on
35
36namespace webrtc {
37
39public:
40 // virtual functions
41 // NOLINTBEGIN
42 // vIndex: 0
43 virtual ~PeerConnectionSdpMethods() = default;
44
45 // vIndex: 1
46 virtual ::std::string session_id() const = 0;
47
48 // vIndex: 2
49 virtual bool NeedsIceRestart(::std::string const&) const = 0;
50
51 // vIndex: 3
52 virtual ::std::optional<::std::string> sctp_mid() const = 0;
53
54 // vIndex: 4
55 virtual ::webrtc::PeerConnectionInterface::RTCConfiguration const* configuration() const = 0;
56
57 // vIndex: 5
58 virtual void ReportSdpBundleUsage(::webrtc::SessionDescriptionInterface const&) = 0;
59
60 // vIndex: 6
61 virtual ::webrtc::PeerConnectionMessageHandler* message_handler() = 0;
62
63 // vIndex: 8
64 virtual ::webrtc::RtpTransmissionManager* rtp_manager() = 0;
65
66 // vIndex: 7
67 virtual ::webrtc::RtpTransmissionManager const* rtp_manager() const = 0;
68
69 // vIndex: 9
70 virtual bool dtls_enabled() const = 0;
71
72 // vIndex: 10
73 virtual ::webrtc::PeerConnectionFactoryInterface::Options const* options() const = 0;
74
75 // vIndex: 11
76 virtual ::webrtc::CryptoOptions GetCryptoOptions() = 0;
77
78 // vIndex: 12
79 virtual ::webrtc::JsepTransportController* transport_controller_s() = 0;
80
81 // vIndex: 13
82 virtual ::webrtc::JsepTransportController* transport_controller_n() = 0;
83
84 // vIndex: 14
85 virtual ::webrtc::DataChannelController* data_channel_controller() = 0;
86
87 // vIndex: 15
88 virtual ::cricket::PortAllocator* port_allocator() = 0;
89
90 // vIndex: 16
91 virtual ::webrtc::LegacyStatsCollector* legacy_stats() = 0;
92
93 // vIndex: 17
94 virtual ::webrtc::PeerConnectionObserver* Observer() const = 0;
95
96 // vIndex: 18
97 virtual ::std::optional<::rtc::SSLRole> GetSctpSslRole_n() = 0;
98
99 // vIndex: 19
100 virtual ::webrtc::PeerConnectionInterface::IceConnectionState ice_connection_state_internal() = 0;
101
102 // vIndex: 20
103 virtual void SetIceConnectionState(::webrtc::PeerConnectionInterface::IceConnectionState) = 0;
104
105 // vIndex: 21
106 virtual void NoteUsageEvent(::webrtc::UsageEvent) = 0;
107
108 // vIndex: 22
109 virtual bool IsClosed() const = 0;
110
111 // vIndex: 23
112 virtual bool IsUnifiedPlan() const = 0;
113
114 // vIndex: 24
115 virtual bool ValidateBundleSettings(
117 ::std::map<::std::string, ::cricket::ContentGroup const*> const&
118 ) = 0;
119
120 // vIndex: 25
121 virtual ::webrtc::RTCErrorOr<::webrtc::scoped_refptr<::webrtc::RtpTransceiverInterface>> AddTransceiver(
122 ::cricket::MediaType,
125 bool
126 ) = 0;
127
128 // vIndex: 26
129 virtual void StartSctpTransport(int, int, int) = 0;
130
131 // vIndex: 27
132 virtual void AddRemoteCandidate(::std::string const&, ::cricket::Candidate const&) = 0;
133
134 // vIndex: 28
135 virtual ::webrtc::Call* call_ptr() = 0;
136
137 // vIndex: 29
138 virtual bool SrtpRequired() const = 0;
139
140 // vIndex: 30
141 virtual bool CreateDataChannelTransport(::std::string_view) = 0;
142
143 // vIndex: 31
144 virtual void DestroyDataChannelTransport(::webrtc::RTCError) = 0;
145
146 // vIndex: 32
147 virtual ::webrtc::FieldTrialsView const& trials() const = 0;
148
149 // vIndex: 33
150 virtual void ClearStatsCache() = 0;
151 // NOLINTEND
152
153public:
154 // virtual function thunks
155 // NOLINTBEGIN
156
157 // NOLINTEND
158};
159
160} // namespace webrtc
Definition Candidate.h:15
Definition SessionDescription.h:18
Definition PeerConnectionSdpMethods.h:38
Definition RTCError.h:10
Definition SessionDescriptionInterface.h:18
Definition scoped_refptr.h:8
Definition RtpTransceiverInit.h:7