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&) = 0;
49
50 virtual ::webrtc::Call::Stats GetCallStats() = 0;
51
52 virtual ::std::optional<::webrtc::AudioDeviceModule::Stats> GetAudioDeviceStats() = 0;
53
54 virtual bool GetLocalCertificate(::std::string const&, ::webrtc::scoped_refptr<::rtc::RTCCertificate>*) = 0;
55
56 virtual ::std::unique_ptr<::rtc::SSLCertChain> GetRemoteSSLCertChain(::std::string const&) = 0;
57
58 virtual bool IceRestartPending(::std::string const&) const = 0;
59
60 virtual bool GetSslRole(::std::string const&, ::rtc::SSLRole*) = 0;
61
62 virtual void NoteDataAddedEvent();
63
64 virtual void OnSctpDataChannelStateChanged(int channel_id, ::webrtc::DataChannelInterface::DataState state);
65
66 virtual ~PeerConnectionInternal() /*override*/;
67 // NOLINTEND
68
69public:
70 // destructor thunk
71 // NOLINTBEGIN
72 MCNAPI void $dtor();
73 // NOLINTEND
74
75public:
76 // virtual function thunks
77 // NOLINTBEGIN
78
79 // NOLINTEND
80};
81
82} // 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