hbos | d565b73 | 2016-08-30 14:04:35 -0700 | [diff] [blame] | 1 | /* |
| 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 | |
Mirko Bonadei | 92ea95e | 2017-09-15 06:47:31 +0200 | [diff] [blame] | 11 | #ifndef API_STATS_RTCSTATS_OBJECTS_H_ |
| 12 | #define API_STATS_RTCSTATS_OBJECTS_H_ |
hbos | d565b73 | 2016-08-30 14:04:35 -0700 | [diff] [blame] | 13 | |
Yves Gerey | 3e70781 | 2018-11-28 16:47:49 +0100 | [diff] [blame] | 14 | #include <stdint.h> |
Henrik Boström | 1df1bf8 | 2018-03-20 13:24:20 +0100 | [diff] [blame] | 15 | #include <memory> |
hbos | d565b73 | 2016-08-30 14:04:35 -0700 | [diff] [blame] | 16 | #include <string> |
oprypin | 803dc29 | 2017-02-01 01:55:59 -0800 | [diff] [blame] | 17 | #include <vector> |
hbos | d565b73 | 2016-08-30 14:04:35 -0700 | [diff] [blame] | 18 | |
Steve Anton | 10542f2 | 2019-01-11 09:11:00 -0800 | [diff] [blame] | 19 | #include "api/stats/rtc_stats.h" |
Mirko Bonadei | 276827c | 2018-10-16 14:13:50 +0200 | [diff] [blame] | 20 | #include "rtc_base/system/rtc_export.h" |
hbos | d565b73 | 2016-08-30 14:04:35 -0700 | [diff] [blame] | 21 | |
| 22 | namespace webrtc { |
| 23 | |
hbos | cc555c5 | 2016-10-18 12:48:31 -0700 | [diff] [blame] | 24 | // https://w3c.github.io/webrtc-pc/#idl-def-rtcdatachannelstate |
| 25 | struct RTCDataChannelState { |
agrieve | 26622d3 | 2017-08-08 10:48:15 -0700 | [diff] [blame] | 26 | static const char* const kConnecting; |
| 27 | static const char* const kOpen; |
| 28 | static const char* const kClosing; |
| 29 | static const char* const kClosed; |
hbos | cc555c5 | 2016-10-18 12:48:31 -0700 | [diff] [blame] | 30 | }; |
| 31 | |
hbos | c47a0c3 | 2016-10-11 14:54:49 -0700 | [diff] [blame] | 32 | // https://w3c.github.io/webrtc-stats/#dom-rtcstatsicecandidatepairstate |
| 33 | struct RTCStatsIceCandidatePairState { |
agrieve | 26622d3 | 2017-08-08 10:48:15 -0700 | [diff] [blame] | 34 | static const char* const kFrozen; |
| 35 | static const char* const kWaiting; |
| 36 | static const char* const kInProgress; |
| 37 | static const char* const kFailed; |
| 38 | static const char* const kSucceeded; |
hbos | c47a0c3 | 2016-10-11 14:54:49 -0700 | [diff] [blame] | 39 | }; |
| 40 | |
hbos | cc555c5 | 2016-10-18 12:48:31 -0700 | [diff] [blame] | 41 | // https://w3c.github.io/webrtc-pc/#rtcicecandidatetype-enum |
hbos | ab9f6e4 | 2016-10-07 02:18:47 -0700 | [diff] [blame] | 42 | struct RTCIceCandidateType { |
agrieve | 26622d3 | 2017-08-08 10:48:15 -0700 | [diff] [blame] | 43 | static const char* const kHost; |
| 44 | static const char* const kSrflx; |
| 45 | static const char* const kPrflx; |
| 46 | static const char* const kRelay; |
hbos | ab9f6e4 | 2016-10-07 02:18:47 -0700 | [diff] [blame] | 47 | }; |
| 48 | |
hbos | 7064d59 | 2017-01-16 07:38:02 -0800 | [diff] [blame] | 49 | // https://w3c.github.io/webrtc-pc/#idl-def-rtcdtlstransportstate |
| 50 | struct RTCDtlsTransportState { |
agrieve | 26622d3 | 2017-08-08 10:48:15 -0700 | [diff] [blame] | 51 | static const char* const kNew; |
| 52 | static const char* const kConnecting; |
| 53 | static const char* const kConnected; |
| 54 | static const char* const kClosed; |
| 55 | static const char* const kFailed; |
hbos | 7064d59 | 2017-01-16 07:38:02 -0800 | [diff] [blame] | 56 | }; |
| 57 | |
hbos | 160e4a7 | 2017-01-17 02:53:23 -0800 | [diff] [blame] | 58 | // |RTCMediaStreamTrackStats::kind| is not an enum in the spec but the only |
| 59 | // valid values are "audio" and "video". |
| 60 | // https://w3c.github.io/webrtc-stats/#dom-rtcmediastreamtrackstats-kind |
| 61 | struct RTCMediaStreamTrackKind { |
agrieve | 26622d3 | 2017-08-08 10:48:15 -0700 | [diff] [blame] | 62 | static const char* const kAudio; |
| 63 | static const char* const kVideo; |
hbos | 160e4a7 | 2017-01-17 02:53:23 -0800 | [diff] [blame] | 64 | }; |
| 65 | |
Gary Liu | 37e489c | 2017-11-21 10:49:36 -0800 | [diff] [blame] | 66 | // https://w3c.github.io/webrtc-stats/#dom-rtcnetworktype |
| 67 | struct RTCNetworkType { |
| 68 | static const char* const kBluetooth; |
| 69 | static const char* const kCellular; |
| 70 | static const char* const kEthernet; |
| 71 | static const char* const kWifi; |
| 72 | static const char* const kWimax; |
| 73 | static const char* const kVpn; |
| 74 | static const char* const kUnknown; |
| 75 | }; |
| 76 | |
Henrik Boström | 2e06926 | 2019-04-09 13:59:31 +0200 | [diff] [blame] | 77 | // https://webrtc.org/experiments/rtp-hdrext/video-content-type/ |
| 78 | struct RTCContentType { |
| 79 | static const char* const kUnspecified; |
| 80 | static const char* const kScreenshare; |
| 81 | }; |
| 82 | |
hbos | 2fa7c67 | 2016-10-24 04:00:05 -0700 | [diff] [blame] | 83 | // https://w3c.github.io/webrtc-stats/#certificatestats-dict* |
Mirko Bonadei | 276827c | 2018-10-16 14:13:50 +0200 | [diff] [blame] | 84 | class RTC_EXPORT RTCCertificateStats final : public RTCStats { |
hbos | 2fa7c67 | 2016-10-24 04:00:05 -0700 | [diff] [blame] | 85 | public: |
| 86 | WEBRTC_RTCSTATS_DECL(); |
| 87 | |
| 88 | RTCCertificateStats(const std::string& id, int64_t timestamp_us); |
| 89 | RTCCertificateStats(std::string&& id, int64_t timestamp_us); |
| 90 | RTCCertificateStats(const RTCCertificateStats& other); |
| 91 | ~RTCCertificateStats() override; |
| 92 | |
| 93 | RTCStatsMember<std::string> fingerprint; |
| 94 | RTCStatsMember<std::string> fingerprint_algorithm; |
| 95 | RTCStatsMember<std::string> base64_certificate; |
| 96 | RTCStatsMember<std::string> issuer_certificate_id; |
| 97 | }; |
| 98 | |
hbos | 0adb828 | 2016-11-23 02:32:06 -0800 | [diff] [blame] | 99 | // https://w3c.github.io/webrtc-stats/#codec-dict* |
Mirko Bonadei | 276827c | 2018-10-16 14:13:50 +0200 | [diff] [blame] | 100 | class RTC_EXPORT RTCCodecStats final : public RTCStats { |
hbos | 0adb828 | 2016-11-23 02:32:06 -0800 | [diff] [blame] | 101 | public: |
| 102 | WEBRTC_RTCSTATS_DECL(); |
| 103 | |
| 104 | RTCCodecStats(const std::string& id, int64_t timestamp_us); |
| 105 | RTCCodecStats(std::string&& id, int64_t timestamp_us); |
| 106 | RTCCodecStats(const RTCCodecStats& other); |
| 107 | ~RTCCodecStats() override; |
| 108 | |
| 109 | RTCStatsMember<uint32_t> payload_type; |
hbos | 13f54b2 | 2017-02-28 06:56:04 -0800 | [diff] [blame] | 110 | RTCStatsMember<std::string> mime_type; |
hbos | 0adb828 | 2016-11-23 02:32:06 -0800 | [diff] [blame] | 111 | RTCStatsMember<uint32_t> clock_rate; |
hbos | 585a9b1 | 2017-02-07 04:59:16 -0800 | [diff] [blame] | 112 | // TODO(hbos): Collect and populate this value. https://bugs.webrtc.org/7061 |
hbos | 0adb828 | 2016-11-23 02:32:06 -0800 | [diff] [blame] | 113 | RTCStatsMember<uint32_t> channels; |
hbos | 585a9b1 | 2017-02-07 04:59:16 -0800 | [diff] [blame] | 114 | // TODO(hbos): Collect and populate this value. https://bugs.webrtc.org/7061 |
hbos | 13f54b2 | 2017-02-28 06:56:04 -0800 | [diff] [blame] | 115 | RTCStatsMember<std::string> sdp_fmtp_line; |
hbos | 585a9b1 | 2017-02-07 04:59:16 -0800 | [diff] [blame] | 116 | // TODO(hbos): Collect and populate this value. https://bugs.webrtc.org/7061 |
hbos | 0adb828 | 2016-11-23 02:32:06 -0800 | [diff] [blame] | 117 | RTCStatsMember<std::string> implementation; |
| 118 | }; |
| 119 | |
hbos | 2fa7c67 | 2016-10-24 04:00:05 -0700 | [diff] [blame] | 120 | // https://w3c.github.io/webrtc-stats/#dcstats-dict* |
Mirko Bonadei | 276827c | 2018-10-16 14:13:50 +0200 | [diff] [blame] | 121 | class RTC_EXPORT RTCDataChannelStats final : public RTCStats { |
hbos | 2fa7c67 | 2016-10-24 04:00:05 -0700 | [diff] [blame] | 122 | public: |
| 123 | WEBRTC_RTCSTATS_DECL(); |
| 124 | |
| 125 | RTCDataChannelStats(const std::string& id, int64_t timestamp_us); |
| 126 | RTCDataChannelStats(std::string&& id, int64_t timestamp_us); |
| 127 | RTCDataChannelStats(const RTCDataChannelStats& other); |
| 128 | ~RTCDataChannelStats() override; |
| 129 | |
| 130 | RTCStatsMember<std::string> label; |
| 131 | RTCStatsMember<std::string> protocol; |
| 132 | RTCStatsMember<int32_t> datachannelid; |
| 133 | // TODO(hbos): Support enum types? "RTCStatsMember<RTCDataChannelState>"? |
| 134 | RTCStatsMember<std::string> state; |
| 135 | RTCStatsMember<uint32_t> messages_sent; |
| 136 | RTCStatsMember<uint64_t> bytes_sent; |
| 137 | RTCStatsMember<uint32_t> messages_received; |
| 138 | RTCStatsMember<uint64_t> bytes_received; |
| 139 | }; |
| 140 | |
| 141 | // https://w3c.github.io/webrtc-stats/#candidatepair-dict* |
hbos | 338f78a | 2017-02-07 06:41:21 -0800 | [diff] [blame] | 142 | // TODO(hbos): Tracking bug https://bugs.webrtc.org/7062 |
Mirko Bonadei | 276827c | 2018-10-16 14:13:50 +0200 | [diff] [blame] | 143 | class RTC_EXPORT RTCIceCandidatePairStats final : public RTCStats { |
hbos | c47a0c3 | 2016-10-11 14:54:49 -0700 | [diff] [blame] | 144 | public: |
| 145 | WEBRTC_RTCSTATS_DECL(); |
| 146 | |
| 147 | RTCIceCandidatePairStats(const std::string& id, int64_t timestamp_us); |
| 148 | RTCIceCandidatePairStats(std::string&& id, int64_t timestamp_us); |
| 149 | RTCIceCandidatePairStats(const RTCIceCandidatePairStats& other); |
| 150 | ~RTCIceCandidatePairStats() override; |
| 151 | |
| 152 | RTCStatsMember<std::string> transport_id; |
| 153 | RTCStatsMember<std::string> local_candidate_id; |
| 154 | RTCStatsMember<std::string> remote_candidate_id; |
| 155 | // TODO(hbos): Support enum types? |
| 156 | // "RTCStatsMember<RTCStatsIceCandidatePairState>"? |
| 157 | RTCStatsMember<std::string> state; |
| 158 | RTCStatsMember<uint64_t> priority; |
| 159 | RTCStatsMember<bool> nominated; |
hbos | 338f78a | 2017-02-07 06:41:21 -0800 | [diff] [blame] | 160 | // TODO(hbos): Collect this the way the spec describes it. We have a value for |
| 161 | // it but it is not spec-compliant. https://bugs.webrtc.org/7062 |
hbos | c47a0c3 | 2016-10-11 14:54:49 -0700 | [diff] [blame] | 162 | RTCStatsMember<bool> writable; |
hbos | 338f78a | 2017-02-07 06:41:21 -0800 | [diff] [blame] | 163 | // TODO(hbos): Collect and populate this value. https://bugs.webrtc.org/7062 |
hbos | c47a0c3 | 2016-10-11 14:54:49 -0700 | [diff] [blame] | 164 | RTCStatsMember<bool> readable; |
| 165 | RTCStatsMember<uint64_t> bytes_sent; |
| 166 | RTCStatsMember<uint64_t> bytes_received; |
hbos | 3168c7a | 2016-12-15 06:17:08 -0800 | [diff] [blame] | 167 | RTCStatsMember<double> total_round_trip_time; |
hbos | 3168c7a | 2016-12-15 06:17:08 -0800 | [diff] [blame] | 168 | RTCStatsMember<double> current_round_trip_time; |
hbos | c47a0c3 | 2016-10-11 14:54:49 -0700 | [diff] [blame] | 169 | RTCStatsMember<double> available_outgoing_bitrate; |
hbos | 338f78a | 2017-02-07 06:41:21 -0800 | [diff] [blame] | 170 | // TODO(hbos): Populate this value. It is wired up and collected the same way |
hbos | bf8d3e5 | 2017-02-28 06:34:47 -0800 | [diff] [blame] | 171 | // "VideoBwe.googAvailableReceiveBandwidth" is, but that value is always |
hbos | 338f78a | 2017-02-07 06:41:21 -0800 | [diff] [blame] | 172 | // undefined. https://bugs.webrtc.org/7062 |
hbos | c47a0c3 | 2016-10-11 14:54:49 -0700 | [diff] [blame] | 173 | RTCStatsMember<double> available_incoming_bitrate; |
| 174 | RTCStatsMember<uint64_t> requests_received; |
| 175 | RTCStatsMember<uint64_t> requests_sent; |
| 176 | RTCStatsMember<uint64_t> responses_received; |
| 177 | RTCStatsMember<uint64_t> responses_sent; |
hbos | 338f78a | 2017-02-07 06:41:21 -0800 | [diff] [blame] | 178 | // TODO(hbos): Collect and populate this value. https://bugs.webrtc.org/7062 |
hbos | c47a0c3 | 2016-10-11 14:54:49 -0700 | [diff] [blame] | 179 | RTCStatsMember<uint64_t> retransmissions_received; |
hbos | 338f78a | 2017-02-07 06:41:21 -0800 | [diff] [blame] | 180 | // TODO(hbos): Collect and populate this value. https://bugs.webrtc.org/7062 |
hbos | c47a0c3 | 2016-10-11 14:54:49 -0700 | [diff] [blame] | 181 | RTCStatsMember<uint64_t> retransmissions_sent; |
hbos | 338f78a | 2017-02-07 06:41:21 -0800 | [diff] [blame] | 182 | // TODO(hbos): Collect and populate this value. https://bugs.webrtc.org/7062 |
hbos | c47a0c3 | 2016-10-11 14:54:49 -0700 | [diff] [blame] | 183 | RTCStatsMember<uint64_t> consent_requests_received; |
| 184 | RTCStatsMember<uint64_t> consent_requests_sent; |
hbos | 338f78a | 2017-02-07 06:41:21 -0800 | [diff] [blame] | 185 | // TODO(hbos): Collect and populate this value. https://bugs.webrtc.org/7062 |
hbos | c47a0c3 | 2016-10-11 14:54:49 -0700 | [diff] [blame] | 186 | RTCStatsMember<uint64_t> consent_responses_received; |
hbos | 338f78a | 2017-02-07 06:41:21 -0800 | [diff] [blame] | 187 | // TODO(hbos): Collect and populate this value. https://bugs.webrtc.org/7062 |
hbos | c47a0c3 | 2016-10-11 14:54:49 -0700 | [diff] [blame] | 188 | RTCStatsMember<uint64_t> consent_responses_sent; |
| 189 | }; |
| 190 | |
hbos | ab9f6e4 | 2016-10-07 02:18:47 -0700 | [diff] [blame] | 191 | // https://w3c.github.io/webrtc-stats/#icecandidate-dict* |
hbos | 5d79a7c | 2016-10-24 09:27:10 -0700 | [diff] [blame] | 192 | // TODO(hbos): |RTCStatsCollector| only collects candidates that are part of |
| 193 | // ice candidate pairs, but there could be candidates not paired with anything. |
| 194 | // crbug.com/632723 |
Qingsi Wang | 72a43a1 | 2018-02-20 16:03:18 -0800 | [diff] [blame] | 195 | // TODO(qingsi): Add the stats of STUN binding requests (keepalives) and collect |
| 196 | // them in the new PeerConnection::GetStats. |
Mirko Bonadei | 276827c | 2018-10-16 14:13:50 +0200 | [diff] [blame] | 197 | class RTC_EXPORT RTCIceCandidateStats : public RTCStats { |
hbos | ab9f6e4 | 2016-10-07 02:18:47 -0700 | [diff] [blame] | 198 | public: |
| 199 | WEBRTC_RTCSTATS_DECL(); |
| 200 | |
| 201 | RTCIceCandidateStats(const RTCIceCandidateStats& other); |
| 202 | ~RTCIceCandidateStats() override; |
| 203 | |
hbos | b4e426e | 2017-01-02 09:59:31 -0800 | [diff] [blame] | 204 | RTCStatsMember<std::string> transport_id; |
hbos | c3a2b7f | 2017-01-02 04:46:15 -0800 | [diff] [blame] | 205 | RTCStatsMember<bool> is_remote; |
Gary Liu | 37e489c | 2017-11-21 10:49:36 -0800 | [diff] [blame] | 206 | RTCStatsMember<std::string> network_type; |
hbos | ab9f6e4 | 2016-10-07 02:18:47 -0700 | [diff] [blame] | 207 | RTCStatsMember<std::string> ip; |
| 208 | RTCStatsMember<int32_t> port; |
| 209 | RTCStatsMember<std::string> protocol; |
Philipp Hancke | 9551375 | 2018-09-27 14:40:08 +0200 | [diff] [blame] | 210 | RTCStatsMember<std::string> relay_protocol; |
hbos | ab9f6e4 | 2016-10-07 02:18:47 -0700 | [diff] [blame] | 211 | // TODO(hbos): Support enum types? "RTCStatsMember<RTCIceCandidateType>"? |
| 212 | RTCStatsMember<std::string> candidate_type; |
| 213 | RTCStatsMember<int32_t> priority; |
hbos | 5d79a7c | 2016-10-24 09:27:10 -0700 | [diff] [blame] | 214 | // TODO(hbos): Not collected by |RTCStatsCollector|. crbug.com/632723 |
hbos | ab9f6e4 | 2016-10-07 02:18:47 -0700 | [diff] [blame] | 215 | RTCStatsMember<std::string> url; |
hbos | d17a5a7 | 2017-01-02 08:09:59 -0800 | [diff] [blame] | 216 | // TODO(hbos): |deleted = true| case is not supported by |RTCStatsCollector|. |
| 217 | // crbug.com/632723 |
| 218 | RTCStatsMember<bool> deleted; // = false |
hbos | ab9f6e4 | 2016-10-07 02:18:47 -0700 | [diff] [blame] | 219 | |
| 220 | protected: |
Yves Gerey | 665174f | 2018-06-19 15:03:05 +0200 | [diff] [blame] | 221 | RTCIceCandidateStats(const std::string& id, |
| 222 | int64_t timestamp_us, |
| 223 | bool is_remote); |
hbos | c3a2b7f | 2017-01-02 04:46:15 -0800 | [diff] [blame] | 224 | RTCIceCandidateStats(std::string&& id, int64_t timestamp_us, bool is_remote); |
hbos | ab9f6e4 | 2016-10-07 02:18:47 -0700 | [diff] [blame] | 225 | }; |
| 226 | |
| 227 | // In the spec both local and remote varieties are of type RTCIceCandidateStats. |
| 228 | // But here we define them as subclasses of |RTCIceCandidateStats| because the |
| 229 | // |kType| need to be different ("RTCStatsType type") in the local/remote case. |
| 230 | // https://w3c.github.io/webrtc-stats/#rtcstatstype-str* |
Henrik Boström | 1df1bf8 | 2018-03-20 13:24:20 +0100 | [diff] [blame] | 231 | // This forces us to have to override copy() and type(). |
Mirko Bonadei | 276827c | 2018-10-16 14:13:50 +0200 | [diff] [blame] | 232 | class RTC_EXPORT RTCLocalIceCandidateStats final : public RTCIceCandidateStats { |
hbos | ab9f6e4 | 2016-10-07 02:18:47 -0700 | [diff] [blame] | 233 | public: |
| 234 | static const char kType[]; |
| 235 | RTCLocalIceCandidateStats(const std::string& id, int64_t timestamp_us); |
| 236 | RTCLocalIceCandidateStats(std::string&& id, int64_t timestamp_us); |
Henrik Boström | 1df1bf8 | 2018-03-20 13:24:20 +0100 | [diff] [blame] | 237 | std::unique_ptr<RTCStats> copy() const override; |
hbos | ab9f6e4 | 2016-10-07 02:18:47 -0700 | [diff] [blame] | 238 | const char* type() const override; |
| 239 | }; |
| 240 | |
Mirko Bonadei | 276827c | 2018-10-16 14:13:50 +0200 | [diff] [blame] | 241 | class RTC_EXPORT RTCRemoteIceCandidateStats final |
| 242 | : public RTCIceCandidateStats { |
hbos | ab9f6e4 | 2016-10-07 02:18:47 -0700 | [diff] [blame] | 243 | public: |
| 244 | static const char kType[]; |
| 245 | RTCRemoteIceCandidateStats(const std::string& id, int64_t timestamp_us); |
| 246 | RTCRemoteIceCandidateStats(std::string&& id, int64_t timestamp_us); |
Henrik Boström | 1df1bf8 | 2018-03-20 13:24:20 +0100 | [diff] [blame] | 247 | std::unique_ptr<RTCStats> copy() const override; |
hbos | ab9f6e4 | 2016-10-07 02:18:47 -0700 | [diff] [blame] | 248 | const char* type() const override; |
| 249 | }; |
| 250 | |
hbos | 09bc128 | 2016-11-08 06:29:22 -0800 | [diff] [blame] | 251 | // https://w3c.github.io/webrtc-stats/#msstats-dict* |
hbos | 0adb828 | 2016-11-23 02:32:06 -0800 | [diff] [blame] | 252 | // TODO(hbos): Tracking bug crbug.com/660827 |
Mirko Bonadei | 276827c | 2018-10-16 14:13:50 +0200 | [diff] [blame] | 253 | class RTC_EXPORT RTCMediaStreamStats final : public RTCStats { |
hbos | 09bc128 | 2016-11-08 06:29:22 -0800 | [diff] [blame] | 254 | public: |
| 255 | WEBRTC_RTCSTATS_DECL(); |
| 256 | |
| 257 | RTCMediaStreamStats(const std::string& id, int64_t timestamp_us); |
| 258 | RTCMediaStreamStats(std::string&& id, int64_t timestamp_us); |
| 259 | RTCMediaStreamStats(const RTCMediaStreamStats& other); |
| 260 | ~RTCMediaStreamStats() override; |
| 261 | |
| 262 | RTCStatsMember<std::string> stream_identifier; |
| 263 | RTCStatsMember<std::vector<std::string>> track_ids; |
| 264 | }; |
| 265 | |
| 266 | // https://w3c.github.io/webrtc-stats/#mststats-dict* |
hbos | 0adb828 | 2016-11-23 02:32:06 -0800 | [diff] [blame] | 267 | // TODO(hbos): Tracking bug crbug.com/659137 |
Mirko Bonadei | 276827c | 2018-10-16 14:13:50 +0200 | [diff] [blame] | 268 | class RTC_EXPORT RTCMediaStreamTrackStats final : public RTCStats { |
hbos | 09bc128 | 2016-11-08 06:29:22 -0800 | [diff] [blame] | 269 | public: |
| 270 | WEBRTC_RTCSTATS_DECL(); |
| 271 | |
Yves Gerey | 665174f | 2018-06-19 15:03:05 +0200 | [diff] [blame] | 272 | RTCMediaStreamTrackStats(const std::string& id, |
| 273 | int64_t timestamp_us, |
hbos | 160e4a7 | 2017-01-17 02:53:23 -0800 | [diff] [blame] | 274 | const char* kind); |
Yves Gerey | 665174f | 2018-06-19 15:03:05 +0200 | [diff] [blame] | 275 | RTCMediaStreamTrackStats(std::string&& id, |
| 276 | int64_t timestamp_us, |
hbos | 160e4a7 | 2017-01-17 02:53:23 -0800 | [diff] [blame] | 277 | const char* kind); |
hbos | 09bc128 | 2016-11-08 06:29:22 -0800 | [diff] [blame] | 278 | RTCMediaStreamTrackStats(const RTCMediaStreamTrackStats& other); |
| 279 | ~RTCMediaStreamTrackStats() override; |
| 280 | |
| 281 | RTCStatsMember<std::string> track_identifier; |
| 282 | RTCStatsMember<bool> remote_source; |
| 283 | RTCStatsMember<bool> ended; |
| 284 | // TODO(hbos): |RTCStatsCollector| does not return stats for detached tracks. |
| 285 | // crbug.com/659137 |
| 286 | RTCStatsMember<bool> detached; |
hbos | 160e4a7 | 2017-01-17 02:53:23 -0800 | [diff] [blame] | 287 | // See |RTCMediaStreamTrackKind| for valid values. |
| 288 | RTCStatsMember<std::string> kind; |
Gustaf Ullberg | b0a0207 | 2017-10-02 12:00:34 +0200 | [diff] [blame] | 289 | // TODO(gustaf): Implement jitter_buffer_delay for video (currently |
| 290 | // implemented for audio only). |
| 291 | // https://crbug.com/webrtc/8318 |
| 292 | RTCStatsMember<double> jitter_buffer_delay; |
Chen Xing | 0acffb5 | 2019-01-15 15:46:29 +0100 | [diff] [blame] | 293 | RTCStatsMember<uint64_t> jitter_buffer_emitted_count; |
hbos | 09bc128 | 2016-11-08 06:29:22 -0800 | [diff] [blame] | 294 | // Video-only members |
| 295 | RTCStatsMember<uint32_t> frame_width; |
| 296 | RTCStatsMember<uint32_t> frame_height; |
| 297 | // TODO(hbos): Not collected by |RTCStatsCollector|. crbug.com/659137 |
| 298 | RTCStatsMember<double> frames_per_second; |
hbos | 09bc128 | 2016-11-08 06:29:22 -0800 | [diff] [blame] | 299 | RTCStatsMember<uint32_t> frames_sent; |
Ilya Nikolaevskiy | 70473fc | 2018-02-28 16:35:03 +0100 | [diff] [blame] | 300 | RTCStatsMember<uint32_t> huge_frames_sent; |
hbos | 09bc128 | 2016-11-08 06:29:22 -0800 | [diff] [blame] | 301 | RTCStatsMember<uint32_t> frames_received; |
hbos | 09bc128 | 2016-11-08 06:29:22 -0800 | [diff] [blame] | 302 | RTCStatsMember<uint32_t> frames_decoded; |
hbos | 09bc128 | 2016-11-08 06:29:22 -0800 | [diff] [blame] | 303 | RTCStatsMember<uint32_t> frames_dropped; |
| 304 | // TODO(hbos): Not collected by |RTCStatsCollector|. crbug.com/659137 |
| 305 | RTCStatsMember<uint32_t> frames_corrupted; |
| 306 | // TODO(hbos): Not collected by |RTCStatsCollector|. crbug.com/659137 |
| 307 | RTCStatsMember<uint32_t> partial_frames_lost; |
| 308 | // TODO(hbos): Not collected by |RTCStatsCollector|. crbug.com/659137 |
| 309 | RTCStatsMember<uint32_t> full_frames_lost; |
| 310 | // Audio-only members |
| 311 | RTCStatsMember<double> audio_level; |
zstein | e76bd3a | 2017-07-14 12:17:49 -0700 | [diff] [blame] | 312 | RTCStatsMember<double> total_audio_energy; |
hbos | 09bc128 | 2016-11-08 06:29:22 -0800 | [diff] [blame] | 313 | RTCStatsMember<double> echo_return_loss; |
| 314 | RTCStatsMember<double> echo_return_loss_enhancement; |
Steve Anton | 2dbc69f | 2017-08-24 17:15:13 -0700 | [diff] [blame] | 315 | RTCStatsMember<uint64_t> total_samples_received; |
| 316 | RTCStatsMember<double> total_samples_duration; |
| 317 | RTCStatsMember<uint64_t> concealed_samples; |
Ivo Creusen | 8d8ffdb | 2019-04-30 09:45:21 +0200 | [diff] [blame] | 318 | RTCStatsMember<uint64_t> silent_concealed_samples; |
Gustaf Ullberg | 9a2e906 | 2017-09-18 09:28:20 +0200 | [diff] [blame] | 319 | RTCStatsMember<uint64_t> concealment_events; |
Ivo Creusen | 8d8ffdb | 2019-04-30 09:45:21 +0200 | [diff] [blame] | 320 | RTCStatsMember<uint64_t> inserted_samples_for_deceleration; |
| 321 | RTCStatsMember<uint64_t> removed_samples_for_acceleration; |
Ruslan Burakov | 8af8896 | 2018-11-22 17:21:10 +0100 | [diff] [blame] | 322 | // Non-standard audio-only member |
Jakob Ivarsson | 352ce5c | 2018-11-27 12:52:16 +0100 | [diff] [blame] | 323 | // TODO(kuddai): Add description to standard. crbug.com/webrtc/10042 |
Ruslan Burakov | 8af8896 | 2018-11-22 17:21:10 +0100 | [diff] [blame] | 324 | RTCNonStandardStatsMember<uint64_t> jitter_buffer_flushes; |
Jakob Ivarsson | 352ce5c | 2018-11-27 12:52:16 +0100 | [diff] [blame] | 325 | RTCNonStandardStatsMember<uint64_t> delayed_packet_outage_samples; |
Jakob Ivarsson | 232b3fd | 2019-03-06 09:18:40 +0100 | [diff] [blame] | 326 | RTCNonStandardStatsMember<double> relative_packet_arrival_delay; |
Henrik Lundin | 44125fa | 2019-04-29 17:00:46 +0200 | [diff] [blame] | 327 | // TODO(henrik.lundin): Add description of the interruption metrics at |
| 328 | // https://github.com/henbos/webrtc-provisional-stats/issues/17 |
| 329 | RTCNonStandardStatsMember<uint32_t> interruption_count; |
| 330 | RTCNonStandardStatsMember<double> total_interruption_duration; |
Sergey Silkin | 0237106 | 2019-01-31 16:45:42 +0100 | [diff] [blame] | 331 | // Non-standard video-only members. |
| 332 | // https://henbos.github.io/webrtc-provisional-stats/#RTCVideoReceiverStats-dict* |
| 333 | RTCNonStandardStatsMember<uint32_t> freeze_count; |
| 334 | RTCNonStandardStatsMember<uint32_t> pause_count; |
| 335 | RTCNonStandardStatsMember<double> total_freezes_duration; |
| 336 | RTCNonStandardStatsMember<double> total_pauses_duration; |
| 337 | RTCNonStandardStatsMember<double> total_frames_duration; |
| 338 | RTCNonStandardStatsMember<double> sum_squared_frame_durations; |
hbos | 09bc128 | 2016-11-08 06:29:22 -0800 | [diff] [blame] | 339 | }; |
| 340 | |
hbos | 6ab97ce | 2016-10-03 14:16:56 -0700 | [diff] [blame] | 341 | // https://w3c.github.io/webrtc-stats/#pcstats-dict* |
Mirko Bonadei | 276827c | 2018-10-16 14:13:50 +0200 | [diff] [blame] | 342 | class RTC_EXPORT RTCPeerConnectionStats final : public RTCStats { |
hbos | d565b73 | 2016-08-30 14:04:35 -0700 | [diff] [blame] | 343 | public: |
hbos | fc5e050 | 2016-10-06 02:06:10 -0700 | [diff] [blame] | 344 | WEBRTC_RTCSTATS_DECL(); |
| 345 | |
hbos | 0e6758d | 2016-08-31 07:57:36 -0700 | [diff] [blame] | 346 | RTCPeerConnectionStats(const std::string& id, int64_t timestamp_us); |
| 347 | RTCPeerConnectionStats(std::string&& id, int64_t timestamp_us); |
hbos | fc5e050 | 2016-10-06 02:06:10 -0700 | [diff] [blame] | 348 | RTCPeerConnectionStats(const RTCPeerConnectionStats& other); |
| 349 | ~RTCPeerConnectionStats() override; |
hbos | d565b73 | 2016-08-30 14:04:35 -0700 | [diff] [blame] | 350 | |
| 351 | RTCStatsMember<uint32_t> data_channels_opened; |
| 352 | RTCStatsMember<uint32_t> data_channels_closed; |
| 353 | }; |
| 354 | |
hbos | 6ded190 | 2016-11-01 01:50:46 -0700 | [diff] [blame] | 355 | // https://w3c.github.io/webrtc-stats/#streamstats-dict* |
hbos | 0adb828 | 2016-11-23 02:32:06 -0800 | [diff] [blame] | 356 | // TODO(hbos): Tracking bug crbug.com/657854 |
Mirko Bonadei | 276827c | 2018-10-16 14:13:50 +0200 | [diff] [blame] | 357 | class RTC_EXPORT RTCRTPStreamStats : public RTCStats { |
hbos | 6ded190 | 2016-11-01 01:50:46 -0700 | [diff] [blame] | 358 | public: |
| 359 | WEBRTC_RTCSTATS_DECL(); |
| 360 | |
| 361 | RTCRTPStreamStats(const RTCRTPStreamStats& other); |
| 362 | ~RTCRTPStreamStats() override; |
| 363 | |
hbos | 3443bb7 | 2017-02-07 06:28:11 -0800 | [diff] [blame] | 364 | RTCStatsMember<uint32_t> ssrc; |
hbos | 6ded190 | 2016-11-01 01:50:46 -0700 | [diff] [blame] | 365 | // TODO(hbos): When the remote case is supported |RTCStatsCollector| needs to |
| 366 | // set this. crbug.com/657855, 657856 |
| 367 | RTCStatsMember<std::string> associate_stats_id; |
| 368 | // TODO(hbos): Remote case not supported by |RTCStatsCollector|. |
| 369 | // crbug.com/657855, 657856 |
| 370 | RTCStatsMember<bool> is_remote; // = false |
Philipp Hancke | 3bc0166 | 2018-08-28 14:55:03 +0200 | [diff] [blame] | 371 | RTCStatsMember<std::string> media_type; // renamed to kind. |
| 372 | RTCStatsMember<std::string> kind; |
hbos | b0ae920 | 2017-01-27 06:35:16 -0800 | [diff] [blame] | 373 | RTCStatsMember<std::string> track_id; |
hbos | 6ded190 | 2016-11-01 01:50:46 -0700 | [diff] [blame] | 374 | RTCStatsMember<std::string> transport_id; |
hbos | 6ded190 | 2016-11-01 01:50:46 -0700 | [diff] [blame] | 375 | RTCStatsMember<std::string> codec_id; |
| 376 | // FIR and PLI counts are only defined for |media_type == "video"|. |
| 377 | RTCStatsMember<uint32_t> fir_count; |
| 378 | RTCStatsMember<uint32_t> pli_count; |
| 379 | // TODO(hbos): NACK count should be collected by |RTCStatsCollector| for both |
| 380 | // audio and video but is only defined in the "video" case. crbug.com/657856 |
| 381 | RTCStatsMember<uint32_t> nack_count; |
| 382 | // TODO(hbos): Not collected by |RTCStatsCollector|. crbug.com/657854 |
| 383 | // SLI count is only defined for |media_type == "video"|. |
| 384 | RTCStatsMember<uint32_t> sli_count; |
hbos | 6769c49 | 2017-01-02 08:35:13 -0800 | [diff] [blame] | 385 | RTCStatsMember<uint64_t> qp_sum; |
hbos | 6ded190 | 2016-11-01 01:50:46 -0700 | [diff] [blame] | 386 | |
| 387 | protected: |
| 388 | RTCRTPStreamStats(const std::string& id, int64_t timestamp_us); |
| 389 | RTCRTPStreamStats(std::string&& id, int64_t timestamp_us); |
| 390 | }; |
| 391 | |
hbos | eeafe94 | 2016-11-01 03:00:17 -0700 | [diff] [blame] | 392 | // https://w3c.github.io/webrtc-stats/#inboundrtpstats-dict* |
hbos | a7a9be1 | 2017-03-01 01:02:45 -0800 | [diff] [blame] | 393 | // TODO(hbos): Support the remote case |is_remote = true|. |
| 394 | // https://bugs.webrtc.org/7065 |
Mirko Bonadei | 276827c | 2018-10-16 14:13:50 +0200 | [diff] [blame] | 395 | class RTC_EXPORT RTCInboundRTPStreamStats final : public RTCRTPStreamStats { |
hbos | eeafe94 | 2016-11-01 03:00:17 -0700 | [diff] [blame] | 396 | public: |
| 397 | WEBRTC_RTCSTATS_DECL(); |
| 398 | |
| 399 | RTCInboundRTPStreamStats(const std::string& id, int64_t timestamp_us); |
| 400 | RTCInboundRTPStreamStats(std::string&& id, int64_t timestamp_us); |
| 401 | RTCInboundRTPStreamStats(const RTCInboundRTPStreamStats& other); |
| 402 | ~RTCInboundRTPStreamStats() override; |
| 403 | |
| 404 | RTCStatsMember<uint32_t> packets_received; |
Ivo Creusen | 8d8ffdb | 2019-04-30 09:45:21 +0200 | [diff] [blame] | 405 | RTCStatsMember<uint64_t> fec_packets_received; |
| 406 | RTCStatsMember<uint64_t> fec_packets_discarded; |
hbos | eeafe94 | 2016-11-01 03:00:17 -0700 | [diff] [blame] | 407 | RTCStatsMember<uint64_t> bytes_received; |
Harald Alvestrand | 719487e | 2017-12-13 12:26:04 +0100 | [diff] [blame] | 408 | RTCStatsMember<int32_t> packets_lost; // Signed per RFC 3550 |
Henrik Boström | 01738c6 | 2019-04-15 17:32:00 +0200 | [diff] [blame] | 409 | RTCStatsMember<double> last_packet_received_timestamp; |
hbos | a7a9be1 | 2017-03-01 01:02:45 -0800 | [diff] [blame] | 410 | // TODO(hbos): Collect and populate this value for both "audio" and "video", |
| 411 | // currently not collected for "video". https://bugs.webrtc.org/7065 |
hbos | eeafe94 | 2016-11-01 03:00:17 -0700 | [diff] [blame] | 412 | RTCStatsMember<double> jitter; |
| 413 | RTCStatsMember<double> fraction_lost; |
hbos | a7a9be1 | 2017-03-01 01:02:45 -0800 | [diff] [blame] | 414 | // TODO(hbos): Collect and populate this value. https://bugs.webrtc.org/7065 |
| 415 | RTCStatsMember<double> round_trip_time; |
| 416 | // TODO(hbos): Collect and populate this value. https://bugs.webrtc.org/7065 |
hbos | eeafe94 | 2016-11-01 03:00:17 -0700 | [diff] [blame] | 417 | RTCStatsMember<uint32_t> packets_discarded; |
hbos | a7a9be1 | 2017-03-01 01:02:45 -0800 | [diff] [blame] | 418 | // TODO(hbos): Collect and populate this value. https://bugs.webrtc.org/7065 |
hbos | eeafe94 | 2016-11-01 03:00:17 -0700 | [diff] [blame] | 419 | RTCStatsMember<uint32_t> packets_repaired; |
hbos | a7a9be1 | 2017-03-01 01:02:45 -0800 | [diff] [blame] | 420 | // TODO(hbos): Collect and populate this value. https://bugs.webrtc.org/7065 |
hbos | eeafe94 | 2016-11-01 03:00:17 -0700 | [diff] [blame] | 421 | RTCStatsMember<uint32_t> burst_packets_lost; |
hbos | a7a9be1 | 2017-03-01 01:02:45 -0800 | [diff] [blame] | 422 | // TODO(hbos): Collect and populate this value. https://bugs.webrtc.org/7065 |
hbos | eeafe94 | 2016-11-01 03:00:17 -0700 | [diff] [blame] | 423 | RTCStatsMember<uint32_t> burst_packets_discarded; |
hbos | a7a9be1 | 2017-03-01 01:02:45 -0800 | [diff] [blame] | 424 | // TODO(hbos): Collect and populate this value. https://bugs.webrtc.org/7065 |
hbos | eeafe94 | 2016-11-01 03:00:17 -0700 | [diff] [blame] | 425 | RTCStatsMember<uint32_t> burst_loss_count; |
hbos | a7a9be1 | 2017-03-01 01:02:45 -0800 | [diff] [blame] | 426 | // TODO(hbos): Collect and populate this value. https://bugs.webrtc.org/7065 |
hbos | eeafe94 | 2016-11-01 03:00:17 -0700 | [diff] [blame] | 427 | RTCStatsMember<uint32_t> burst_discard_count; |
hbos | a7a9be1 | 2017-03-01 01:02:45 -0800 | [diff] [blame] | 428 | // TODO(hbos): Collect and populate this value. https://bugs.webrtc.org/7065 |
hbos | eeafe94 | 2016-11-01 03:00:17 -0700 | [diff] [blame] | 429 | RTCStatsMember<double> burst_loss_rate; |
hbos | a7a9be1 | 2017-03-01 01:02:45 -0800 | [diff] [blame] | 430 | // TODO(hbos): Collect and populate this value. https://bugs.webrtc.org/7065 |
hbos | eeafe94 | 2016-11-01 03:00:17 -0700 | [diff] [blame] | 431 | RTCStatsMember<double> burst_discard_rate; |
hbos | a7a9be1 | 2017-03-01 01:02:45 -0800 | [diff] [blame] | 432 | // TODO(hbos): Collect and populate this value. https://bugs.webrtc.org/7065 |
hbos | eeafe94 | 2016-11-01 03:00:17 -0700 | [diff] [blame] | 433 | RTCStatsMember<double> gap_loss_rate; |
hbos | a7a9be1 | 2017-03-01 01:02:45 -0800 | [diff] [blame] | 434 | // TODO(hbos): Collect and populate this value. https://bugs.webrtc.org/7065 |
hbos | eeafe94 | 2016-11-01 03:00:17 -0700 | [diff] [blame] | 435 | RTCStatsMember<double> gap_discard_rate; |
hbos | 6769c49 | 2017-01-02 08:35:13 -0800 | [diff] [blame] | 436 | RTCStatsMember<uint32_t> frames_decoded; |
Henrik Boström | 2e06926 | 2019-04-09 13:59:31 +0200 | [diff] [blame] | 437 | // https://henbos.github.io/webrtc-provisional-stats/#dom-rtcinboundrtpstreamstats-contenttype |
| 438 | RTCStatsMember<std::string> content_type; |
hbos | eeafe94 | 2016-11-01 03:00:17 -0700 | [diff] [blame] | 439 | }; |
| 440 | |
hbos | 6ded190 | 2016-11-01 01:50:46 -0700 | [diff] [blame] | 441 | // https://w3c.github.io/webrtc-stats/#outboundrtpstats-dict* |
hbos | a7a9be1 | 2017-03-01 01:02:45 -0800 | [diff] [blame] | 442 | // TODO(hbos): Support the remote case |is_remote = true|. |
| 443 | // https://bugs.webrtc.org/7066 |
Mirko Bonadei | 276827c | 2018-10-16 14:13:50 +0200 | [diff] [blame] | 444 | class RTC_EXPORT RTCOutboundRTPStreamStats final : public RTCRTPStreamStats { |
hbos | 6ded190 | 2016-11-01 01:50:46 -0700 | [diff] [blame] | 445 | public: |
| 446 | WEBRTC_RTCSTATS_DECL(); |
| 447 | |
| 448 | RTCOutboundRTPStreamStats(const std::string& id, int64_t timestamp_us); |
| 449 | RTCOutboundRTPStreamStats(std::string&& id, int64_t timestamp_us); |
| 450 | RTCOutboundRTPStreamStats(const RTCOutboundRTPStreamStats& other); |
| 451 | ~RTCOutboundRTPStreamStats() override; |
| 452 | |
| 453 | RTCStatsMember<uint32_t> packets_sent; |
Henrik Boström | cf96e0f | 2019-04-17 13:51:53 +0200 | [diff] [blame] | 454 | RTCStatsMember<uint64_t> retransmitted_packets_sent; |
hbos | 6ded190 | 2016-11-01 01:50:46 -0700 | [diff] [blame] | 455 | RTCStatsMember<uint64_t> bytes_sent; |
Henrik Boström | cf96e0f | 2019-04-17 13:51:53 +0200 | [diff] [blame] | 456 | RTCStatsMember<uint64_t> retransmitted_bytes_sent; |
hbos | a7a9be1 | 2017-03-01 01:02:45 -0800 | [diff] [blame] | 457 | // TODO(hbos): Collect and populate this value. https://bugs.webrtc.org/7066 |
hbos | 6ded190 | 2016-11-01 01:50:46 -0700 | [diff] [blame] | 458 | RTCStatsMember<double> target_bitrate; |
hbos | 6769c49 | 2017-01-02 08:35:13 -0800 | [diff] [blame] | 459 | RTCStatsMember<uint32_t> frames_encoded; |
Henrik Boström | f71362f | 2019-04-08 16:14:23 +0200 | [diff] [blame] | 460 | RTCStatsMember<double> total_encode_time; |
Henrik Boström | 9fe1834 | 2019-05-16 18:38:20 +0200 | [diff] [blame^] | 461 | // TODO(https://crbug.com/webrtc/10635): This is only implemented for video; |
| 462 | // implement it for audio as well. |
| 463 | RTCStatsMember<double> total_packet_send_delay; |
Henrik Boström | 2e06926 | 2019-04-09 13:59:31 +0200 | [diff] [blame] | 464 | // https://henbos.github.io/webrtc-provisional-stats/#dom-rtcoutboundrtpstreamstats-contenttype |
| 465 | RTCStatsMember<std::string> content_type; |
hbos | 6ded190 | 2016-11-01 01:50:46 -0700 | [diff] [blame] | 466 | }; |
| 467 | |
hbos | 2fa7c67 | 2016-10-24 04:00:05 -0700 | [diff] [blame] | 468 | // https://w3c.github.io/webrtc-stats/#transportstats-dict* |
Mirko Bonadei | 276827c | 2018-10-16 14:13:50 +0200 | [diff] [blame] | 469 | class RTC_EXPORT RTCTransportStats final : public RTCStats { |
hbos | 2fa7c67 | 2016-10-24 04:00:05 -0700 | [diff] [blame] | 470 | public: |
| 471 | WEBRTC_RTCSTATS_DECL(); |
| 472 | |
| 473 | RTCTransportStats(const std::string& id, int64_t timestamp_us); |
| 474 | RTCTransportStats(std::string&& id, int64_t timestamp_us); |
| 475 | RTCTransportStats(const RTCTransportStats& other); |
| 476 | ~RTCTransportStats() override; |
| 477 | |
| 478 | RTCStatsMember<uint64_t> bytes_sent; |
| 479 | RTCStatsMember<uint64_t> bytes_received; |
| 480 | RTCStatsMember<std::string> rtcp_transport_stats_id; |
hbos | 7064d59 | 2017-01-16 07:38:02 -0800 | [diff] [blame] | 481 | // TODO(hbos): Support enum types? "RTCStatsMember<RTCDtlsTransportState>"? |
| 482 | RTCStatsMember<std::string> dtls_state; |
hbos | 2fa7c67 | 2016-10-24 04:00:05 -0700 | [diff] [blame] | 483 | RTCStatsMember<std::string> selected_candidate_pair_id; |
| 484 | RTCStatsMember<std::string> local_certificate_id; |
| 485 | RTCStatsMember<std::string> remote_certificate_id; |
| 486 | }; |
| 487 | |
hbos | d565b73 | 2016-08-30 14:04:35 -0700 | [diff] [blame] | 488 | } // namespace webrtc |
| 489 | |
Mirko Bonadei | 92ea95e | 2017-09-15 06:47:31 +0200 | [diff] [blame] | 490 | #endif // API_STATS_RTCSTATS_OBJECTS_H_ |