32 virtual ::rtc::Thread* network_thread()
const = 0;
34 virtual ::rtc::Thread* worker_thread()
const = 0;
36 virtual bool initial_offerer()
const = 0;
38 virtual ::std::vector<::webrtc::scoped_refptr<::webrtc::RtpTransceiverProxyWithInternal<::webrtc::RtpTransceiver>>>
39 GetTransceiversInternal()
const = 0;
41 virtual ::std::vector<::webrtc::DataChannelStats> GetDataChannelStats()
const;
43 virtual ::std::optional<::std::string> sctp_transport_name()
const = 0;
45 virtual ::std::vector<::cricket::CandidateStats> GetPooledCandidateStats()
const = 0;
47 virtual ::std::map<::std::string, ::cricket::TransportStats>
48 GetTransportStatsByNames(::std::set<::std::string>
const& transport_names) = 0;
50 virtual ::webrtc::Call::Stats GetCallStats() = 0;
52 virtual ::std::optional<::webrtc::AudioDeviceModule::Stats> GetAudioDeviceStats() = 0;
54 virtual bool GetLocalCertificate(
55 ::std::string
const& transport_name,
59 virtual ::std::unique_ptr<::rtc::SSLCertChain> GetRemoteSSLCertChain(::std::string
const& transport_name) = 0;
61 virtual bool IceRestartPending(::std::string
const& content_name)
const = 0;
63 virtual bool GetSslRole(::std::string
const& content_name, ::rtc::SSLRole* role) = 0;
65 virtual void NoteDataAddedEvent();
67 virtual void OnSctpDataChannelStateChanged(
int channel_id, ::webrtc::DataChannelInterface::DataState state);