LeviLamina
Loading...
Searching...
No Matches
PeerConnectionInternal.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/external/webrtc/AudioDeviceModule.h"
7#include "mc/external/webrtc/Call.h"
8#include "mc/external/webrtc/DataChannelInterface.h"
9#include "mc/external/webrtc/PeerConnectionInterface.h"
10#include "mc/external/webrtc/PeerConnectionSdpMethods.h"
11#include "mc/external/webrtc/RtpTransceiverProxyWithInternal.h"
12#include "mc/external/webrtc/SSLRole.h"
13#include "mc/external/webrtc/scoped_refptr.h"
14
15// auto generated forward declare list
16// clang-format off
17namespace webrtc { class CandidateStats; }
18namespace webrtc { class RTCCertificate; }
19namespace webrtc { class RtpTransceiver; }
20namespace webrtc { class SSLCertChain; }
21namespace webrtc { class Thread; }
22namespace webrtc { struct DataChannelStats; }
23namespace webrtc { struct TransportStats; }
24// clang-format on
25
26namespace webrtc {
27
29public:
30 // virtual functions
31 // NOLINTBEGIN
32 virtual ::webrtc::Thread* network_thread() const = 0;
33
34 virtual ::webrtc::Thread* worker_thread() const = 0;
35
36 virtual bool initial_offerer() const = 0;
37
38 virtual ::std::vector<::webrtc::scoped_refptr<::webrtc::RtpTransceiverProxyWithInternal<::webrtc::RtpTransceiver>>>
39 GetTransceiversInternal() const = 0;
40
41 virtual ::std::vector<::webrtc::DataChannelStats> GetDataChannelStats() const;
42
43 virtual ::std::optional<::std::string> sctp_transport_name() const = 0;
44
45 virtual ::std::vector<::webrtc::CandidateStats> GetPooledCandidateStats() const = 0;
46
47 virtual ::std::map<::std::string, ::webrtc::TransportStats>
48 GetTransportStatsByNames(::std::set<::std::string> const& transport_names) = 0;
49
50 virtual ::webrtc::Call::Stats GetCallStats() = 0;
51
52 virtual ::std::optional<::webrtc::AudioDeviceModule::Stats> GetAudioDeviceStats() = 0;
53
54 virtual bool GetLocalCertificate(
55 ::std::string const& transport_name,
57 ) = 0;
58
59 virtual ::std::unique_ptr<::webrtc::SSLCertChain> GetRemoteSSLCertChain(::std::string const& transport_name) = 0;
60
61 virtual bool IceRestartPending(::std::string const& content_name) const = 0;
62
63 virtual bool GetSslRole(::std::string const& content_name, ::webrtc::SSLRole* role) = 0;
64
65 virtual void NoteDataAddedEvent();
66
67 virtual void OnSctpDataChannelStateChanged(int channel_id, ::webrtc::DataChannelInterface::DataState state);
68
69 virtual ~PeerConnectionInternal() /*override*/ = default;
70 // NOLINTEND
71
72public:
73 // destructor thunk
74 // NOLINTBEGIN
75 MCNAPI void $dtor();
76 // NOLINTEND
77};
78
79} // namespace webrtc
Definition CandidateStats.h:7
Definition PeerConnectionInterface.h:57
Definition PeerConnectionInternal.h:28
Definition PeerConnectionSdpMethods.h:41
Definition RTCCertificate.h:18
Definition RtpTransceiver.h:40
Definition SSLCertChain.h:13
Definition Thread.h:20
Definition scoped_refptr.h:8
Definition DataChannelStats.h:7
Definition TransportStats.h:7