LeviLamina
Loading...
Searching...
No Matches
RTCStatsCollector.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/external/webrtc/Call.h"
7#include "mc/external/webrtc/DataChannelInterface.h"
8#include "mc/external/webrtc/RefCountInterface.h"
9#include "mc/external/webrtc/scoped_refptr.h"
10
11// auto generated forward declare list
12// clang-format off
13namespace cricket { struct TransportStats; }
14namespace webrtc { class PeerConnectionInternal; }
15namespace webrtc { class RTCStatsCollectorCallback; }
16namespace webrtc { class RTCStatsReport; }
17namespace webrtc { class RtpReceiverInternal; }
18namespace webrtc { class RtpSenderInternal; }
19namespace webrtc { class Timestamp; }
20// clang-format on
21
22namespace webrtc {
23
25public:
26 // RTCStatsCollector inner types declare
27 // clang-format off
29 struct InternalRecord;
30 class RequestInfo;
32 // clang-format on
33
34 // RTCStatsCollector inner types define
36 public:
37 // member variables
38 // NOLINTBEGIN
41 // NOLINTEND
42
43 public:
44 // prevent constructor by default
48
49 public:
50 // member functions
51 // NOLINTBEGIN
52 MCNAPI ::webrtc::RTCStatsCollector::CertificateStatsPair Copy() const;
53
55 // NOLINTEND
56
57 public:
58 // destructor thunk
59 // NOLINTBEGIN
60 MCNAPI void $dtor();
61 // NOLINTEND
62 };
63
65 public:
66 // RequestInfo inner types define
67 enum class FilterMode : int {
68 KAll = 0,
69 KSenderSelector = 1,
70 KReceiverSelector = 2,
71 };
72
73 public:
74 // member variables
75 // NOLINTBEGIN
80 // NOLINTEND
81
82 public:
83 // prevent constructor by default
84 RequestInfo& operator=(RequestInfo const&);
87
88 public:
89 // member functions
90 // NOLINTBEGIN
92
96 );
97
101 );
102
104 ::webrtc::RTCStatsCollector::RequestInfo::FilterMode filter_mode,
108 );
109
110 MCNAPI ~RequestInfo();
111 // NOLINTEND
112
113 public:
114 // constructor thunks
115 // NOLINTBEGIN
117
118 MCNAPI void* $ctor(
121 );
122
123 MCNAPI void* $ctor(
126 );
127
128 MCNAPI void* $ctor(
129 ::webrtc::RTCStatsCollector::RequestInfo::FilterMode filter_mode,
133 );
134 // NOLINTEND
135
136 public:
137 // destructor thunk
138 // NOLINTBEGIN
139 MCNAPI void $dtor();
140 // NOLINTEND
141 };
142
144 public:
145 // member variables
146 // NOLINTBEGIN
153 // NOLINTEND
154
155 public:
156 // prevent constructor by default
159
160 public:
161 // member functions
162 // NOLINTBEGIN
164
166 // NOLINTEND
167
168 public:
169 // constructor thunks
170 // NOLINTBEGIN
172
174 // NOLINTEND
175 };
176
178 public:
179 // member variables
180 // NOLINTBEGIN
184 // NOLINTEND
185
186 public:
187 // prevent constructor by default
188 InternalRecord& operator=(InternalRecord const&);
191
192 public:
193 // member functions
194 // NOLINTBEGIN
196 // NOLINTEND
197
198 public:
199 // destructor thunk
200 // NOLINTBEGIN
201 MCNAPI void $dtor();
202 // NOLINTEND
203 };
204
205public:
206 // member variables
207 // NOLINTBEGIN
227 // NOLINTEND
228
229public:
230 // prevent constructor by default
231 RTCStatsCollector& operator=(RTCStatsCollector const&);
234
235public:
236 // virtual functions
237 // NOLINTBEGIN
238 // vIndex: 2
239 virtual ~RTCStatsCollector() /*override*/;
240
241 // vIndex: 3
242 virtual void
243 ProducePartialResultsOnSignalingThreadImpl(::webrtc::Timestamp timestamp, ::webrtc::RTCStatsReport* partial_report);
244
245 // vIndex: 4
246 virtual void ProducePartialResultsOnNetworkThreadImpl(
247 ::webrtc::Timestamp timestamp,
248 ::std::map<::std::string, ::cricket::TransportStats> const& transport_stats_by_name,
249 ::std::map<::std::string, ::webrtc::RTCStatsCollector::CertificateStatsPair> const& transport_cert_stats,
250 ::webrtc::RTCStatsReport* partial_report
251 );
252 // NOLINTEND
253
254public:
255 // member functions
256 // NOLINTBEGIN
258
259 MCNAPI ::webrtc::scoped_refptr<::webrtc::RTCStatsReport> CreateReportFilteredBySelector(
260 bool filter_by_sender_selector,
264 );
265
268 ::std::vector<::webrtc::RTCStatsCollector::RequestInfo> requests
269 );
270
272
273 MCNAPI void GetStatsReport(
276 );
277
278 MCNAPI void GetStatsReport(
281 );
282
284
285 MCNAPI void MergeNetworkReport_s();
286
287 MCNAPI void OnSctpDataChannelStateChanged(int channel_id, ::webrtc::DataChannelInterface::DataState state);
288
290
291 MCNAPI ::std::map<::std::string, ::webrtc::RTCStatsCollector::CertificateStatsPair>
293 ::std::map<::std::string, ::cricket::TransportStats> const& transport_stats_by_name
294 );
295
297
299 ::webrtc::Timestamp timestamp,
302 ) const;
303
305 ::webrtc::Timestamp timestamp,
306 ::std::map<::std::string, ::webrtc::RTCStatsCollector::CertificateStatsPair> const& transport_cert_stats,
308 ) const;
309
311
313 ::webrtc::Timestamp timestamp,
314 ::std::map<::std::string, ::cricket::TransportStats> const& transport_stats_by_name,
315 ::webrtc::Call::Stats const& call_stats,
317 ) const;
318
320
322 ::webrtc::Timestamp timestamp,
323 ::std::optional<::std::string> sctp_transport_name
324 );
325
327
329
331 ::webrtc::Timestamp timestamp,
332 ::std::vector<::webrtc::RTCStatsCollector::RtpTransceiverStatsInfo> const& transceiver_stats_infos,
334 ) const;
335
337 ::webrtc::Timestamp timestamp,
338 ::std::map<::std::string, ::cricket::TransportStats> const& transport_stats_by_name,
339 ::std::map<::std::string, ::webrtc::RTCStatsCollector::CertificateStatsPair> const& transport_cert_stats,
341 ) const;
342
344 ::webrtc::Timestamp timestamp,
347 ) const;
348
349 MCNAPI RTCStatsCollector(::webrtc::PeerConnectionInternal* pc, int64 cache_lifetime_us);
350
352 // NOLINTEND
353
354public:
355 // static functions
356 // NOLINTBEGIN
357 MCNAPI static ::webrtc::scoped_refptr<::webrtc::RTCStatsCollector>
358 Create(::webrtc::PeerConnectionInternal* pc, int64 cache_lifetime_us);
359 // NOLINTEND
360
361public:
362 // constructor thunks
363 // NOLINTBEGIN
364 MCNAPI void* $ctor(::webrtc::PeerConnectionInternal* pc, int64 cache_lifetime_us);
365 // NOLINTEND
366
367public:
368 // destructor thunk
369 // NOLINTBEGIN
370 MCNAPI void $dtor();
371 // NOLINTEND
372
373public:
374 // virtual function thunks
375 // NOLINTBEGIN
377 ::webrtc::Timestamp timestamp,
378 ::webrtc::RTCStatsReport* partial_report
379 );
380
382 ::webrtc::Timestamp timestamp,
383 ::std::map<::std::string, ::cricket::TransportStats> const& transport_stats_by_name,
384 ::std::map<::std::string, ::webrtc::RTCStatsCollector::CertificateStatsPair> const& transport_cert_stats,
385 ::webrtc::RTCStatsReport* partial_report
386 );
387 // NOLINTEND
388
389public:
390 // vftables
391 // NOLINTBEGIN
392 MCNAPI static void** $vftable();
393 // NOLINTEND
394};
395
396} // namespace webrtc
Definition PeerConnectionInternal.h:28
Definition RTCStatsCollector.h:64
MCAPI void * $ctor(::webrtc::scoped_refptr<::webrtc::RTCStatsCollectorCallback > callback)
MCAPI RequestInfo(::webrtc::scoped_refptr<::webrtc::RtpSenderInternal > selector, ::webrtc::scoped_refptr<::webrtc::RTCStatsCollectorCallback > callback)
MCAPI RequestInfo(::webrtc::scoped_refptr<::webrtc::RTCStatsCollectorCallback > callback)
MCAPI RequestInfo(::webrtc::RTCStatsCollector::RequestInfo::FilterMode filter_mode, ::webrtc::scoped_refptr<::webrtc::RTCStatsCollectorCallback > callback, ::webrtc::scoped_refptr<::webrtc::RtpSenderInternal > sender_selector, ::webrtc::scoped_refptr<::webrtc::RtpReceiverInternal > receiver_selector)
MCAPI void * $ctor(::webrtc::scoped_refptr<::webrtc::RtpSenderInternal > selector, ::webrtc::scoped_refptr<::webrtc::RTCStatsCollectorCallback > callback)
MCAPI void * $ctor(::webrtc::RTCStatsCollector::RequestInfo::FilterMode filter_mode, ::webrtc::scoped_refptr<::webrtc::RTCStatsCollectorCallback > callback, ::webrtc::scoped_refptr<::webrtc::RtpSenderInternal > sender_selector, ::webrtc::scoped_refptr<::webrtc::RtpReceiverInternal > receiver_selector)
MCAPI RequestInfo(::webrtc::scoped_refptr<::webrtc::RtpReceiverInternal > selector, ::webrtc::scoped_refptr<::webrtc::RTCStatsCollectorCallback > callback)
MCAPI void * $ctor(::webrtc::scoped_refptr<::webrtc::RtpReceiverInternal > selector, ::webrtc::scoped_refptr<::webrtc::RTCStatsCollectorCallback > callback)
Definition RTCStatsCollector.h:24
MCAPI void ProduceCertificateStats_n(::webrtc::Timestamp timestamp, ::std::map<::std::string, ::webrtc::RTCStatsCollector::CertificateStatsPair > const &transport_cert_stats, ::webrtc::RTCStatsReport *report) const
MCAPI void ProducePartialResultsOnNetworkThread(::webrtc::Timestamp timestamp, ::std::optional<::std::string > sctp_transport_name)
static MCAPI void ** $vftable()
MCAPI void DeliverCachedReport(::webrtc::scoped_refptr<::webrtc::RTCStatsReport const > cached_report, ::std::vector<::webrtc::RTCStatsCollector::RequestInfo > requests)
MCAPI void ProduceTransportStats_n(::webrtc::Timestamp timestamp, ::std::map<::std::string, ::cricket::TransportStats > const &transport_stats_by_name, ::std::map<::std::string, ::webrtc::RTCStatsCollector::CertificateStatsPair > const &transport_cert_stats, ::webrtc::RTCStatsReport *report) const
MCAPI ::std::map<::std::string, ::webrtc::RTCStatsCollector::CertificateStatsPair > PrepareTransportCertificateStats_n(::std::map<::std::string, ::cricket::TransportStats > const &transport_stats_by_name)
MCAPI ::webrtc::scoped_refptr<::webrtc::RTCStatsReport > CreateReportFilteredBySelector(bool filter_by_sender_selector, ::webrtc::scoped_refptr<::webrtc::RTCStatsReport const > report, ::webrtc::scoped_refptr<::webrtc::RtpSenderInternal > sender_selector, ::webrtc::scoped_refptr<::webrtc::RtpReceiverInternal > receiver_selector)
MCAPI void GetStatsReport(::webrtc::scoped_refptr<::webrtc::RTCStatsCollectorCallback > callback)
MCAPI void WaitForPendingRequest()
MCAPI void GetStatsReportInternal(::webrtc::RTCStatsCollector::RequestInfo request)
MCAPI void * $ctor(::webrtc::PeerConnectionInternal *pc, int64 cache_lifetime_us)
MCAPI void ProduceVideoRTPStreamStats_n(::webrtc::Timestamp timestamp, ::webrtc::RTCStatsCollector::RtpTransceiverStatsInfo const &stats, ::webrtc::RTCStatsReport *report) const
MCAPI void OnSctpDataChannelStateChanged(int channel_id, ::webrtc::DataChannelInterface::DataState state)
MCAPI void ProduceMediaSourceStats_s(::webrtc::Timestamp timestamp, ::webrtc::RTCStatsReport *report) const
MCAPI void ProduceIceCandidateAndPairStats_n(::webrtc::Timestamp timestamp, ::std::map<::std::string, ::cricket::TransportStats > const &transport_stats_by_name, ::webrtc::Call::Stats const &call_stats, ::webrtc::RTCStatsReport *report) const
MCAPI void ProduceAudioPlayoutStats_s(::webrtc::Timestamp timestamp, ::webrtc::RTCStatsReport *report) const
MCAPI void ProduceRTPStreamStats_n(::webrtc::Timestamp timestamp, ::std::vector<::webrtc::RTCStatsCollector::RtpTransceiverStatsInfo > const &transceiver_stats_infos, ::webrtc::RTCStatsReport *report) const
MCAPI void ProducePeerConnectionStats_s(::webrtc::Timestamp timestamp, ::webrtc::RTCStatsReport *report) const
static MCAPI ::webrtc::scoped_refptr<::webrtc::RTCStatsCollector > Create(::webrtc::PeerConnectionInternal *pc, int64 cache_lifetime_us)
MCAPI void MergeNetworkReport_s()
MCAPI RTCStatsCollector(::webrtc::PeerConnectionInternal *pc, int64 cache_lifetime_us)
MCAPI void ProduceDataChannelStats_n(::webrtc::Timestamp timestamp, ::webrtc::RTCStatsReport *report) const
MCAPI void ProduceAudioRTPStreamStats_n(::webrtc::Timestamp timestamp, ::webrtc::RTCStatsCollector::RtpTransceiverStatsInfo const &stats, ::webrtc::RTCStatsReport *report) const
MCAPI void $ProducePartialResultsOnNetworkThreadImpl(::webrtc::Timestamp timestamp, ::std::map<::std::string, ::cricket::TransportStats > const &transport_stats_by_name, ::std::map<::std::string, ::webrtc::RTCStatsCollector::CertificateStatsPair > const &transport_cert_stats, ::webrtc::RTCStatsReport *partial_report)
MCAPI void $ProducePartialResultsOnSignalingThreadImpl(::webrtc::Timestamp timestamp, ::webrtc::RTCStatsReport *partial_report)
MCAPI void GetStatsReport(::webrtc::scoped_refptr<::webrtc::RtpReceiverInternal > selector, ::webrtc::scoped_refptr<::webrtc::RTCStatsCollectorCallback > callback)
MCAPI void PrepareTransceiverStatsInfosAndCallStats_s_w_n()
MCAPI void ClearCachedStatsReport()
MCAPI void ProducePartialResultsOnSignalingThread(::webrtc::Timestamp timestamp)
MCAPI void GetStatsReport(::webrtc::scoped_refptr<::webrtc::RtpSenderInternal > selector, ::webrtc::scoped_refptr<::webrtc::RTCStatsCollectorCallback > callback)
Definition RTCStatsReport.h:17
Definition RefCountInterface.h:10
Definition Timestamp.h:10
Definition scoped_refptr.h:8
Definition Alias.h:14
Definition Call.h:43
Definition RTCStatsCollector.h:35
MCAPI::webrtc::RTCStatsCollector::CertificateStatsPair Copy() const
Definition RTCStatsCollector.h:177
Definition RTCStatsCollector.h:143
MCAPI RtpTransceiverStatsInfo(::webrtc::RTCStatsCollector::RtpTransceiverStatsInfo const &)
MCAPI void * $ctor(::webrtc::RTCStatsCollector::RtpTransceiverStatsInfo const &)
MCAPI void * $ctor(::webrtc::RTCStatsCollector::RtpTransceiverStatsInfo &&)
MCAPI RtpTransceiverStatsInfo(::webrtc::RTCStatsCollector::RtpTransceiverStatsInfo &&)