blob: d18b248ad7a835ef4362ac9b151e1e158fe3a261 [file] [log] [blame]
hbosd565b732016-08-30 14:04:35 -07001/*
2 * Copyright 2016 The WebRTC Project Authors. All rights reserved.
3 *
4 * Use of this source code is governed by a BSD-style license
5 * that can be found in the LICENSE file in the root of the source
6 * tree. An additional intellectual property rights grant can be found
7 * in the file PATENTS. All contributing project authors may
8 * be found in the AUTHORS file in the root of the source tree.
9 */
10
hbos74e1a4f2016-09-15 23:33:01 -070011#ifndef WEBRTC_API_STATS_RTCSTATS_OBJECTS_H_
12#define WEBRTC_API_STATS_RTCSTATS_OBJECTS_H_
hbosd565b732016-08-30 14:04:35 -070013
14#include <string>
15
hbos74e1a4f2016-09-15 23:33:01 -070016#include "webrtc/api/stats/rtcstats.h"
hbosd565b732016-08-30 14:04:35 -070017
18namespace webrtc {
19
hboscc555c52016-10-18 12:48:31 -070020// https://w3c.github.io/webrtc-pc/#idl-def-rtcdatachannelstate
21struct RTCDataChannelState {
22 static const char* kConnecting;
23 static const char* kOpen;
24 static const char* kClosing;
25 static const char* kClosed;
26};
27
hbosc47a0c32016-10-11 14:54:49 -070028// https://w3c.github.io/webrtc-stats/#dom-rtcstatsicecandidatepairstate
29struct RTCStatsIceCandidatePairState {
30 static const char* kFrozen;
31 static const char* kWaiting;
32 static const char* kInProgress;
33 static const char* kFailed;
34 static const char* kSucceeded;
35 static const char* kCancelled;
36};
37
hboscc555c52016-10-18 12:48:31 -070038// https://w3c.github.io/webrtc-pc/#rtcicecandidatetype-enum
hbosab9f6e42016-10-07 02:18:47 -070039struct RTCIceCandidateType {
40 static const char* kHost;
41 static const char* kSrflx;
42 static const char* kPrflx;
43 static const char* kRelay;
44};
45
hbos2fa7c672016-10-24 04:00:05 -070046// https://w3c.github.io/webrtc-stats/#certificatestats-dict*
47class RTCCertificateStats final : public RTCStats {
48 public:
49 WEBRTC_RTCSTATS_DECL();
50
51 RTCCertificateStats(const std::string& id, int64_t timestamp_us);
52 RTCCertificateStats(std::string&& id, int64_t timestamp_us);
53 RTCCertificateStats(const RTCCertificateStats& other);
54 ~RTCCertificateStats() override;
55
56 RTCStatsMember<std::string> fingerprint;
57 RTCStatsMember<std::string> fingerprint_algorithm;
58 RTCStatsMember<std::string> base64_certificate;
59 RTCStatsMember<std::string> issuer_certificate_id;
60};
61
hbos0adb8282016-11-23 02:32:06 -080062// https://w3c.github.io/webrtc-stats/#codec-dict*
63// Tracking bug crbug.com/659117
64// TODO(hbos): The present codec ID assignment is not sufficient to support
65// Unified Plan or unbundled connections in all cases. crbug.com/659117
66class RTCCodecStats final : public RTCStats {
67 public:
68 WEBRTC_RTCSTATS_DECL();
69
70 RTCCodecStats(const std::string& id, int64_t timestamp_us);
71 RTCCodecStats(std::string&& id, int64_t timestamp_us);
72 RTCCodecStats(const RTCCodecStats& other);
73 ~RTCCodecStats() override;
74
75 RTCStatsMember<uint32_t> payload_type;
76 RTCStatsMember<std::string> codec;
77 RTCStatsMember<uint32_t> clock_rate;
78 // TODO(hbos): Not collected by |RTCStatsCollector|. crbug.com/659117
79 RTCStatsMember<uint32_t> channels;
80 // TODO(hbos): Not collected by |RTCStatsCollector|. crbug.com/659117
81 RTCStatsMember<std::string> parameters;
82 // TODO(hbos): Not collected by |RTCStatsCollector|. crbug.com/659117
83 RTCStatsMember<std::string> implementation;
84};
85
hbos2fa7c672016-10-24 04:00:05 -070086// https://w3c.github.io/webrtc-stats/#dcstats-dict*
87class RTCDataChannelStats final : public RTCStats {
88 public:
89 WEBRTC_RTCSTATS_DECL();
90
91 RTCDataChannelStats(const std::string& id, int64_t timestamp_us);
92 RTCDataChannelStats(std::string&& id, int64_t timestamp_us);
93 RTCDataChannelStats(const RTCDataChannelStats& other);
94 ~RTCDataChannelStats() override;
95
96 RTCStatsMember<std::string> label;
97 RTCStatsMember<std::string> protocol;
98 RTCStatsMember<int32_t> datachannelid;
99 // TODO(hbos): Support enum types? "RTCStatsMember<RTCDataChannelState>"?
100 RTCStatsMember<std::string> state;
101 RTCStatsMember<uint32_t> messages_sent;
102 RTCStatsMember<uint64_t> bytes_sent;
103 RTCStatsMember<uint32_t> messages_received;
104 RTCStatsMember<uint64_t> bytes_received;
105};
106
107// https://w3c.github.io/webrtc-stats/#candidatepair-dict*
hbos0adb8282016-11-23 02:32:06 -0800108// TODO(hbos): Tracking bug crbug.com/633550
hbos6ded1902016-11-01 01:50:46 -0700109class RTCIceCandidatePairStats final : public RTCStats {
hbosc47a0c32016-10-11 14:54:49 -0700110 public:
111 WEBRTC_RTCSTATS_DECL();
112
113 RTCIceCandidatePairStats(const std::string& id, int64_t timestamp_us);
114 RTCIceCandidatePairStats(std::string&& id, int64_t timestamp_us);
115 RTCIceCandidatePairStats(const RTCIceCandidatePairStats& other);
116 ~RTCIceCandidatePairStats() override;
117
118 RTCStatsMember<std::string> transport_id;
119 RTCStatsMember<std::string> local_candidate_id;
120 RTCStatsMember<std::string> remote_candidate_id;
121 // TODO(hbos): Support enum types?
122 // "RTCStatsMember<RTCStatsIceCandidatePairState>"?
hbos5d79a7c2016-10-24 09:27:10 -0700123 // TODO(hbos): Not collected by |RTCStatsCollector|. crbug.com/633550
hbosc47a0c32016-10-11 14:54:49 -0700124 RTCStatsMember<std::string> state;
hbos5d79a7c2016-10-24 09:27:10 -0700125 // TODO(hbos): Not collected by |RTCStatsCollector|. crbug.com/633550
hbosc47a0c32016-10-11 14:54:49 -0700126 RTCStatsMember<uint64_t> priority;
hbos5d79a7c2016-10-24 09:27:10 -0700127 // TODO(hbos): Not collected by |RTCStatsCollector|. crbug.com/633550
hbosc47a0c32016-10-11 14:54:49 -0700128 RTCStatsMember<bool> nominated;
hbos5d79a7c2016-10-24 09:27:10 -0700129 // TODO(hbos): Collected by |RTCStatsCollector| but different than the spec.
130 // crbug.com/633550
hbosc47a0c32016-10-11 14:54:49 -0700131 RTCStatsMember<bool> writable;
hbos5d79a7c2016-10-24 09:27:10 -0700132 // TODO(hbos): Not collected by |RTCStatsCollector|. crbug.com/633550
hbosc47a0c32016-10-11 14:54:49 -0700133 RTCStatsMember<bool> readable;
134 RTCStatsMember<uint64_t> bytes_sent;
135 RTCStatsMember<uint64_t> bytes_received;
hbos5d79a7c2016-10-24 09:27:10 -0700136 // TODO(hbos): Not collected by |RTCStatsCollector|. crbug.com/633550
hbos3168c7a2016-12-15 06:17:08 -0800137 RTCStatsMember<double> total_round_trip_time;
hbos5d79a7c2016-10-24 09:27:10 -0700138 // TODO(hbos): Collected by |RTCStatsCollector| but different than the spec.
139 // crbug.com/633550
hbos3168c7a2016-12-15 06:17:08 -0800140 RTCStatsMember<double> current_round_trip_time;
hbos5d79a7c2016-10-24 09:27:10 -0700141 // TODO(hbos): Not collected by |RTCStatsCollector|. crbug.com/633550
hbosc47a0c32016-10-11 14:54:49 -0700142 RTCStatsMember<double> available_outgoing_bitrate;
hbos5d79a7c2016-10-24 09:27:10 -0700143 // TODO(hbos): Not collected by |RTCStatsCollector|. crbug.com/633550
hbosc47a0c32016-10-11 14:54:49 -0700144 RTCStatsMember<double> available_incoming_bitrate;
145 RTCStatsMember<uint64_t> requests_received;
146 RTCStatsMember<uint64_t> requests_sent;
147 RTCStatsMember<uint64_t> responses_received;
148 RTCStatsMember<uint64_t> responses_sent;
hbos5d79a7c2016-10-24 09:27:10 -0700149 // TODO(hbos): Not collected by |RTCStatsCollector|. crbug.com/633550
hbosc47a0c32016-10-11 14:54:49 -0700150 RTCStatsMember<uint64_t> retransmissions_received;
hbos5d79a7c2016-10-24 09:27:10 -0700151 // TODO(hbos): Not collected by |RTCStatsCollector|. crbug.com/633550
hbosc47a0c32016-10-11 14:54:49 -0700152 RTCStatsMember<uint64_t> retransmissions_sent;
hbos5d79a7c2016-10-24 09:27:10 -0700153 // TODO(hbos): Not collected by |RTCStatsCollector|. crbug.com/633550
hbosc47a0c32016-10-11 14:54:49 -0700154 RTCStatsMember<uint64_t> consent_requests_received;
155 RTCStatsMember<uint64_t> consent_requests_sent;
hbos5d79a7c2016-10-24 09:27:10 -0700156 // TODO(hbos): Not collected by |RTCStatsCollector|. crbug.com/633550
hbosc47a0c32016-10-11 14:54:49 -0700157 RTCStatsMember<uint64_t> consent_responses_received;
hbos5d79a7c2016-10-24 09:27:10 -0700158 // TODO(hbos): Not collected by |RTCStatsCollector|. crbug.com/633550
hbosc47a0c32016-10-11 14:54:49 -0700159 RTCStatsMember<uint64_t> consent_responses_sent;
160};
161
hbosab9f6e42016-10-07 02:18:47 -0700162// https://w3c.github.io/webrtc-stats/#icecandidate-dict*
hbos5d79a7c2016-10-24 09:27:10 -0700163// TODO(hbos): |RTCStatsCollector| only collects candidates that are part of
164// ice candidate pairs, but there could be candidates not paired with anything.
165// crbug.com/632723
hbosab9f6e42016-10-07 02:18:47 -0700166class RTCIceCandidateStats : public RTCStats {
167 public:
168 WEBRTC_RTCSTATS_DECL();
169
170 RTCIceCandidateStats(const RTCIceCandidateStats& other);
171 ~RTCIceCandidateStats() override;
172
hbosc3a2b7f2017-01-02 04:46:15 -0800173 RTCStatsMember<bool> is_remote;
hbosab9f6e42016-10-07 02:18:47 -0700174 RTCStatsMember<std::string> ip;
175 RTCStatsMember<int32_t> port;
176 RTCStatsMember<std::string> protocol;
177 // TODO(hbos): Support enum types? "RTCStatsMember<RTCIceCandidateType>"?
178 RTCStatsMember<std::string> candidate_type;
179 RTCStatsMember<int32_t> priority;
hbos5d79a7c2016-10-24 09:27:10 -0700180 // TODO(hbos): Not collected by |RTCStatsCollector|. crbug.com/632723
hbosab9f6e42016-10-07 02:18:47 -0700181 RTCStatsMember<std::string> url;
182
183 protected:
hbosc3a2b7f2017-01-02 04:46:15 -0800184 RTCIceCandidateStats(
185 const std::string& id, int64_t timestamp_us, bool is_remote);
186 RTCIceCandidateStats(std::string&& id, int64_t timestamp_us, bool is_remote);
hbosab9f6e42016-10-07 02:18:47 -0700187};
188
189// In the spec both local and remote varieties are of type RTCIceCandidateStats.
190// But here we define them as subclasses of |RTCIceCandidateStats| because the
191// |kType| need to be different ("RTCStatsType type") in the local/remote case.
192// https://w3c.github.io/webrtc-stats/#rtcstatstype-str*
193class RTCLocalIceCandidateStats final : public RTCIceCandidateStats {
194 public:
195 static const char kType[];
196 RTCLocalIceCandidateStats(const std::string& id, int64_t timestamp_us);
197 RTCLocalIceCandidateStats(std::string&& id, int64_t timestamp_us);
198 const char* type() const override;
199};
200
201class RTCRemoteIceCandidateStats final : public RTCIceCandidateStats {
202 public:
203 static const char kType[];
204 RTCRemoteIceCandidateStats(const std::string& id, int64_t timestamp_us);
205 RTCRemoteIceCandidateStats(std::string&& id, int64_t timestamp_us);
206 const char* type() const override;
207};
208
hbos09bc1282016-11-08 06:29:22 -0800209// https://w3c.github.io/webrtc-stats/#msstats-dict*
hbos0adb8282016-11-23 02:32:06 -0800210// TODO(hbos): Tracking bug crbug.com/660827
hbos09bc1282016-11-08 06:29:22 -0800211class RTCMediaStreamStats final : public RTCStats {
212 public:
213 WEBRTC_RTCSTATS_DECL();
214
215 RTCMediaStreamStats(const std::string& id, int64_t timestamp_us);
216 RTCMediaStreamStats(std::string&& id, int64_t timestamp_us);
217 RTCMediaStreamStats(const RTCMediaStreamStats& other);
218 ~RTCMediaStreamStats() override;
219
220 RTCStatsMember<std::string> stream_identifier;
221 RTCStatsMember<std::vector<std::string>> track_ids;
222};
223
224// https://w3c.github.io/webrtc-stats/#mststats-dict*
hbos0adb8282016-11-23 02:32:06 -0800225// TODO(hbos): Tracking bug crbug.com/659137
hbos09bc1282016-11-08 06:29:22 -0800226class RTCMediaStreamTrackStats final : public RTCStats {
227 public:
228 WEBRTC_RTCSTATS_DECL();
229
230 RTCMediaStreamTrackStats(const std::string& id, int64_t timestamp_us);
231 RTCMediaStreamTrackStats(std::string&& id, int64_t timestamp_us);
232 RTCMediaStreamTrackStats(const RTCMediaStreamTrackStats& other);
233 ~RTCMediaStreamTrackStats() override;
234
235 RTCStatsMember<std::string> track_identifier;
236 RTCStatsMember<bool> remote_source;
237 RTCStatsMember<bool> ended;
238 // TODO(hbos): |RTCStatsCollector| does not return stats for detached tracks.
239 // crbug.com/659137
240 RTCStatsMember<bool> detached;
241 // TODO(hbos): Not collected by |RTCStatsCollector|. crbug.com/659137
242 RTCStatsMember<std::vector<std::string>> ssrc_ids;
243 // Video-only members
244 RTCStatsMember<uint32_t> frame_width;
245 RTCStatsMember<uint32_t> frame_height;
246 // TODO(hbos): Not collected by |RTCStatsCollector|. crbug.com/659137
247 RTCStatsMember<double> frames_per_second;
248 // TODO(hbos): Not collected by |RTCStatsCollector|. crbug.com/659137
249 RTCStatsMember<uint32_t> frames_sent;
250 // TODO(hbos): Not collected by |RTCStatsCollector|. crbug.com/659137
251 RTCStatsMember<uint32_t> frames_received;
252 // TODO(hbos): Not collected by |RTCStatsCollector|. crbug.com/659137
253 RTCStatsMember<uint32_t> frames_decoded;
254 // TODO(hbos): Not collected by |RTCStatsCollector|. crbug.com/659137
255 RTCStatsMember<uint32_t> frames_dropped;
256 // TODO(hbos): Not collected by |RTCStatsCollector|. crbug.com/659137
257 RTCStatsMember<uint32_t> frames_corrupted;
258 // TODO(hbos): Not collected by |RTCStatsCollector|. crbug.com/659137
259 RTCStatsMember<uint32_t> partial_frames_lost;
260 // TODO(hbos): Not collected by |RTCStatsCollector|. crbug.com/659137
261 RTCStatsMember<uint32_t> full_frames_lost;
262 // Audio-only members
263 RTCStatsMember<double> audio_level;
264 RTCStatsMember<double> echo_return_loss;
265 RTCStatsMember<double> echo_return_loss_enhancement;
266};
267
hbos6ab97ce2016-10-03 14:16:56 -0700268// https://w3c.github.io/webrtc-stats/#pcstats-dict*
hbosab9f6e42016-10-07 02:18:47 -0700269class RTCPeerConnectionStats final : public RTCStats {
hbosd565b732016-08-30 14:04:35 -0700270 public:
hbosfc5e0502016-10-06 02:06:10 -0700271 WEBRTC_RTCSTATS_DECL();
272
hbos0e6758d2016-08-31 07:57:36 -0700273 RTCPeerConnectionStats(const std::string& id, int64_t timestamp_us);
274 RTCPeerConnectionStats(std::string&& id, int64_t timestamp_us);
hbosfc5e0502016-10-06 02:06:10 -0700275 RTCPeerConnectionStats(const RTCPeerConnectionStats& other);
276 ~RTCPeerConnectionStats() override;
hbosd565b732016-08-30 14:04:35 -0700277
278 RTCStatsMember<uint32_t> data_channels_opened;
279 RTCStatsMember<uint32_t> data_channels_closed;
280};
281
hbos6ded1902016-11-01 01:50:46 -0700282// https://w3c.github.io/webrtc-stats/#streamstats-dict*
hbos0adb8282016-11-23 02:32:06 -0800283// TODO(hbos): Tracking bug crbug.com/657854
hbos6ded1902016-11-01 01:50:46 -0700284class RTCRTPStreamStats : public RTCStats {
285 public:
286 WEBRTC_RTCSTATS_DECL();
287
288 RTCRTPStreamStats(const RTCRTPStreamStats& other);
289 ~RTCRTPStreamStats() override;
290
291 RTCStatsMember<std::string> ssrc;
292 // TODO(hbos): When the remote case is supported |RTCStatsCollector| needs to
293 // set this. crbug.com/657855, 657856
294 RTCStatsMember<std::string> associate_stats_id;
295 // TODO(hbos): Remote case not supported by |RTCStatsCollector|.
296 // crbug.com/657855, 657856
297 RTCStatsMember<bool> is_remote; // = false
298 RTCStatsMember<std::string> media_type;
299 // TODO(hbos): Not collected by |RTCStatsCollector|. crbug.com/657854, 659137
300 RTCStatsMember<std::string> media_track_id;
301 RTCStatsMember<std::string> transport_id;
hbos6ded1902016-11-01 01:50:46 -0700302 RTCStatsMember<std::string> codec_id;
303 // FIR and PLI counts are only defined for |media_type == "video"|.
304 RTCStatsMember<uint32_t> fir_count;
305 RTCStatsMember<uint32_t> pli_count;
306 // TODO(hbos): NACK count should be collected by |RTCStatsCollector| for both
307 // audio and video but is only defined in the "video" case. crbug.com/657856
308 RTCStatsMember<uint32_t> nack_count;
309 // TODO(hbos): Not collected by |RTCStatsCollector|. crbug.com/657854
310 // SLI count is only defined for |media_type == "video"|.
311 RTCStatsMember<uint32_t> sli_count;
312
313 protected:
314 RTCRTPStreamStats(const std::string& id, int64_t timestamp_us);
315 RTCRTPStreamStats(std::string&& id, int64_t timestamp_us);
316};
317
hboseeafe942016-11-01 03:00:17 -0700318// https://w3c.github.io/webrtc-stats/#inboundrtpstats-dict*
hbos0adb8282016-11-23 02:32:06 -0800319// Tracking bug crbug.com/657855
320// TODO(hbos): Support the remote case |is_remote = true|. crbug.com/657855
hboseeafe942016-11-01 03:00:17 -0700321class RTCInboundRTPStreamStats final : public RTCRTPStreamStats {
322 public:
323 WEBRTC_RTCSTATS_DECL();
324
325 RTCInboundRTPStreamStats(const std::string& id, int64_t timestamp_us);
326 RTCInboundRTPStreamStats(std::string&& id, int64_t timestamp_us);
327 RTCInboundRTPStreamStats(const RTCInboundRTPStreamStats& other);
328 ~RTCInboundRTPStreamStats() override;
329
330 RTCStatsMember<uint32_t> packets_received;
331 RTCStatsMember<uint64_t> bytes_received;
hboseeafe942016-11-01 03:00:17 -0700332 RTCStatsMember<uint32_t> packets_lost;
333 // TODO(hbos): Not collected in the "video" case by |RTCStatsCollector|.
334 // crbug.com/657855
335 RTCStatsMember<double> jitter;
336 RTCStatsMember<double> fraction_lost;
337 // TODO(hbos): Not collected by |RTCStatsCollector|. crbug.com/657855
338 RTCStatsMember<uint32_t> packets_discarded;
339 // TODO(hbos): Not collected by |RTCStatsCollector|. crbug.com/657855
340 RTCStatsMember<uint32_t> packets_repaired;
341 // TODO(hbos): Not collected by |RTCStatsCollector|. crbug.com/657855
342 RTCStatsMember<uint32_t> burst_packets_lost;
343 // TODO(hbos): Not collected by |RTCStatsCollector|. crbug.com/657855
344 RTCStatsMember<uint32_t> burst_packets_discarded;
345 // TODO(hbos): Not collected by |RTCStatsCollector|. crbug.com/657855
346 RTCStatsMember<uint32_t> burst_loss_count;
347 // TODO(hbos): Not collected by |RTCStatsCollector|. crbug.com/657855
348 RTCStatsMember<uint32_t> burst_discard_count;
349 // TODO(hbos): Not collected by |RTCStatsCollector|. crbug.com/657855
350 RTCStatsMember<double> burst_loss_rate;
351 // TODO(hbos): Not collected by |RTCStatsCollector|. crbug.com/657855
352 RTCStatsMember<double> burst_discard_rate;
353 // TODO(hbos): Not collected by |RTCStatsCollector|. crbug.com/657855
354 RTCStatsMember<double> gap_loss_rate;
355 // TODO(hbos): Not collected by |RTCStatsCollector|. crbug.com/657855
356 RTCStatsMember<double> gap_discard_rate;
357};
358
hbos6ded1902016-11-01 01:50:46 -0700359// https://w3c.github.io/webrtc-stats/#outboundrtpstats-dict*
hbos0adb8282016-11-23 02:32:06 -0800360// Tracking bug crbug.com/657856
361// TODO(hbos): Support the remote case |is_remote = true|. crbug.com/657856
hbos6ded1902016-11-01 01:50:46 -0700362class RTCOutboundRTPStreamStats final : public RTCRTPStreamStats {
363 public:
364 WEBRTC_RTCSTATS_DECL();
365
366 RTCOutboundRTPStreamStats(const std::string& id, int64_t timestamp_us);
367 RTCOutboundRTPStreamStats(std::string&& id, int64_t timestamp_us);
368 RTCOutboundRTPStreamStats(const RTCOutboundRTPStreamStats& other);
369 ~RTCOutboundRTPStreamStats() override;
370
371 RTCStatsMember<uint32_t> packets_sent;
372 RTCStatsMember<uint64_t> bytes_sent;
373 // TODO(hbos): Not collected by |RTCStatsCollector|. crbug.com/657856
374 RTCStatsMember<double> target_bitrate;
375 RTCStatsMember<double> round_trip_time;
376};
377
hbos2fa7c672016-10-24 04:00:05 -0700378// https://w3c.github.io/webrtc-stats/#transportstats-dict*
379class RTCTransportStats final : public RTCStats {
380 public:
381 WEBRTC_RTCSTATS_DECL();
382
383 RTCTransportStats(const std::string& id, int64_t timestamp_us);
384 RTCTransportStats(std::string&& id, int64_t timestamp_us);
385 RTCTransportStats(const RTCTransportStats& other);
386 ~RTCTransportStats() override;
387
388 RTCStatsMember<uint64_t> bytes_sent;
389 RTCStatsMember<uint64_t> bytes_received;
390 RTCStatsMember<std::string> rtcp_transport_stats_id;
391 RTCStatsMember<bool> active_connection;
392 RTCStatsMember<std::string> selected_candidate_pair_id;
393 RTCStatsMember<std::string> local_certificate_id;
394 RTCStatsMember<std::string> remote_certificate_id;
395};
396
hbosd565b732016-08-30 14:04:35 -0700397} // namespace webrtc
398
hbos74e1a4f2016-09-15 23:33:01 -0700399#endif // WEBRTC_API_STATS_RTCSTATS_OBJECTS_H_