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/rtc/SSLRole.h"
7#include "mc/external/webrtc/AudioDeviceModule.h"
8#include "mc/external/webrtc/Call.h"
9#include "mc/external/webrtc/DataChannelInterface.h"
10#include "mc/external/webrtc/PeerConnectionInterface.h"
11#include "mc/external/webrtc/PeerConnectionSdpMethods.h"
12#include "mc/external/webrtc/RtpTransceiverProxyWithInternal.h"
13#include "mc/external/webrtc/scoped_refptr.h"
14
15// auto generated forward declare list
16// clang-format off
17namespace cricket { class CandidateStats; }
18namespace cricket { struct TransportStats; }
19namespace rtc { class RTCCertificate; }
20namespace rtc { class SSLCertChain; }
21namespace rtc { class Thread; }
22namespace webrtc { class RtpTransceiver; }
23namespace webrtc { struct DataChannelStats; }
24// clang-format on
25
26namespace webrtc {
27
29public:
30 // virtual functions
31 // NOLINTBEGIN
32 virtual ::rtc::Thread* network_thread() const = 0;
33
34 virtual ::rtc::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<::cricket::CandidateStats> GetPooledCandidateStats() const = 0;
46
47 virtual ::std::map<::std::string, ::cricket::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<::rtc::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, ::rtc::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*/;
70 // NOLINTEND
71
72public:
73 // destructor thunk
74 // NOLINTBEGIN
75 MCNAPI void $dtor();
76 // NOLINTEND
77
78public:
79 // virtual function thunks
80 // NOLINTBEGIN
81
82 // NOLINTEND
83};
84
85} // namespace webrtc
Definition CandidateStats.h:7
Definition RTCCertificate.h:18
Definition SSLCertChain.h:13
Definition Thread.h:20
Definition PeerConnectionInterface.h:44
Definition PeerConnectionInternal.h:28
Definition PeerConnectionSdpMethods.h:38
Definition RtpTransceiver.h:37
Definition scoped_refptr.h:8
Definition TransportStats.h:7
Definition DataChannelStats.h:7