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 | #include "api/stats/rtcstats_objects.h" |
hbos | d565b73 | 2016-08-30 14:04:35 -0700 | [diff] [blame] | 12 | |
| 13 | namespace webrtc { |
| 14 | |
agrieve | 26622d3 | 2017-08-08 10:48:15 -0700 | [diff] [blame] | 15 | const char* const RTCDataChannelState::kConnecting = "connecting"; |
| 16 | const char* const RTCDataChannelState::kOpen = "open"; |
| 17 | const char* const RTCDataChannelState::kClosing = "closing"; |
| 18 | const char* const RTCDataChannelState::kClosed = "closed"; |
hbos | cc555c5 | 2016-10-18 12:48:31 -0700 | [diff] [blame] | 19 | |
agrieve | 26622d3 | 2017-08-08 10:48:15 -0700 | [diff] [blame] | 20 | const char* const RTCStatsIceCandidatePairState::kFrozen = "frozen"; |
| 21 | const char* const RTCStatsIceCandidatePairState::kWaiting = "waiting"; |
| 22 | const char* const RTCStatsIceCandidatePairState::kInProgress = "in-progress"; |
| 23 | const char* const RTCStatsIceCandidatePairState::kFailed = "failed"; |
| 24 | const char* const RTCStatsIceCandidatePairState::kSucceeded = "succeeded"; |
hbos | c47a0c3 | 2016-10-11 14:54:49 -0700 | [diff] [blame] | 25 | |
| 26 | // Strings defined in https://tools.ietf.org/html/rfc5245. |
agrieve | 26622d3 | 2017-08-08 10:48:15 -0700 | [diff] [blame] | 27 | const char* const RTCIceCandidateType::kHost = "host"; |
| 28 | const char* const RTCIceCandidateType::kSrflx = "srflx"; |
| 29 | const char* const RTCIceCandidateType::kPrflx = "prflx"; |
| 30 | const char* const RTCIceCandidateType::kRelay = "relay"; |
hbos | ab9f6e4 | 2016-10-07 02:18:47 -0700 | [diff] [blame] | 31 | |
agrieve | 26622d3 | 2017-08-08 10:48:15 -0700 | [diff] [blame] | 32 | const char* const RTCDtlsTransportState::kNew = "new"; |
| 33 | const char* const RTCDtlsTransportState::kConnecting = "connecting"; |
| 34 | const char* const RTCDtlsTransportState::kConnected = "connected"; |
| 35 | const char* const RTCDtlsTransportState::kClosed = "closed"; |
| 36 | const char* const RTCDtlsTransportState::kFailed = "failed"; |
hbos | 7064d59 | 2017-01-16 07:38:02 -0800 | [diff] [blame] | 37 | |
agrieve | 26622d3 | 2017-08-08 10:48:15 -0700 | [diff] [blame] | 38 | const char* const RTCMediaStreamTrackKind::kAudio = "audio"; |
| 39 | const char* const RTCMediaStreamTrackKind::kVideo = "video"; |
hbos | 160e4a7 | 2017-01-17 02:53:23 -0800 | [diff] [blame] | 40 | |
Steve Anton | d6a5cbd | 2017-08-18 09:40:25 -0700 | [diff] [blame] | 41 | // clang-format off |
hbos | 2fa7c67 | 2016-10-24 04:00:05 -0700 | [diff] [blame] | 42 | WEBRTC_RTCSTATS_IMPL(RTCCertificateStats, RTCStats, "certificate", |
| 43 | &fingerprint, |
| 44 | &fingerprint_algorithm, |
| 45 | &base64_certificate, |
| 46 | &issuer_certificate_id); |
Steve Anton | d6a5cbd | 2017-08-18 09:40:25 -0700 | [diff] [blame] | 47 | // clang-format on |
hbos | 2fa7c67 | 2016-10-24 04:00:05 -0700 | [diff] [blame] | 48 | |
| 49 | RTCCertificateStats::RTCCertificateStats( |
| 50 | const std::string& id, int64_t timestamp_us) |
| 51 | : RTCCertificateStats(std::string(id), timestamp_us) { |
| 52 | } |
| 53 | |
| 54 | RTCCertificateStats::RTCCertificateStats( |
| 55 | std::string&& id, int64_t timestamp_us) |
| 56 | : RTCStats(std::move(id), timestamp_us), |
| 57 | fingerprint("fingerprint"), |
| 58 | fingerprint_algorithm("fingerprintAlgorithm"), |
| 59 | base64_certificate("base64Certificate"), |
| 60 | issuer_certificate_id("issuerCertificateId") { |
| 61 | } |
| 62 | |
| 63 | RTCCertificateStats::RTCCertificateStats( |
| 64 | const RTCCertificateStats& other) |
| 65 | : RTCStats(other.id(), other.timestamp_us()), |
| 66 | fingerprint(other.fingerprint), |
| 67 | fingerprint_algorithm(other.fingerprint_algorithm), |
| 68 | base64_certificate(other.base64_certificate), |
| 69 | issuer_certificate_id(other.issuer_certificate_id) { |
| 70 | } |
| 71 | |
| 72 | RTCCertificateStats::~RTCCertificateStats() { |
| 73 | } |
| 74 | |
Steve Anton | d6a5cbd | 2017-08-18 09:40:25 -0700 | [diff] [blame] | 75 | // clang-format off |
hbos | 0adb828 | 2016-11-23 02:32:06 -0800 | [diff] [blame] | 76 | WEBRTC_RTCSTATS_IMPL(RTCCodecStats, RTCStats, "codec", |
| 77 | &payload_type, |
hbos | 13f54b2 | 2017-02-28 06:56:04 -0800 | [diff] [blame] | 78 | &mime_type, |
hbos | 0adb828 | 2016-11-23 02:32:06 -0800 | [diff] [blame] | 79 | &clock_rate, |
| 80 | &channels, |
hbos | 13f54b2 | 2017-02-28 06:56:04 -0800 | [diff] [blame] | 81 | &sdp_fmtp_line, |
hbos | 0adb828 | 2016-11-23 02:32:06 -0800 | [diff] [blame] | 82 | &implementation); |
Steve Anton | d6a5cbd | 2017-08-18 09:40:25 -0700 | [diff] [blame] | 83 | // clang-format on |
hbos | 0adb828 | 2016-11-23 02:32:06 -0800 | [diff] [blame] | 84 | |
| 85 | RTCCodecStats::RTCCodecStats( |
| 86 | const std::string& id, int64_t timestamp_us) |
| 87 | : RTCCodecStats(std::string(id), timestamp_us) { |
| 88 | } |
| 89 | |
| 90 | RTCCodecStats::RTCCodecStats( |
| 91 | std::string&& id, int64_t timestamp_us) |
| 92 | : RTCStats(std::move(id), timestamp_us), |
| 93 | payload_type("payloadType"), |
hbos | 13f54b2 | 2017-02-28 06:56:04 -0800 | [diff] [blame] | 94 | mime_type("mimeType"), |
hbos | 0adb828 | 2016-11-23 02:32:06 -0800 | [diff] [blame] | 95 | clock_rate("clockRate"), |
| 96 | channels("channels"), |
hbos | 13f54b2 | 2017-02-28 06:56:04 -0800 | [diff] [blame] | 97 | sdp_fmtp_line("sdpFmtpLine"), |
hbos | 0adb828 | 2016-11-23 02:32:06 -0800 | [diff] [blame] | 98 | implementation("implementation") { |
| 99 | } |
| 100 | |
| 101 | RTCCodecStats::RTCCodecStats( |
| 102 | const RTCCodecStats& other) |
| 103 | : RTCStats(other.id(), other.timestamp_us()), |
| 104 | payload_type(other.payload_type), |
hbos | 13f54b2 | 2017-02-28 06:56:04 -0800 | [diff] [blame] | 105 | mime_type(other.mime_type), |
hbos | 0adb828 | 2016-11-23 02:32:06 -0800 | [diff] [blame] | 106 | clock_rate(other.clock_rate), |
| 107 | channels(other.channels), |
hbos | 13f54b2 | 2017-02-28 06:56:04 -0800 | [diff] [blame] | 108 | sdp_fmtp_line(other.sdp_fmtp_line), |
hbos | 0adb828 | 2016-11-23 02:32:06 -0800 | [diff] [blame] | 109 | implementation(other.implementation) { |
| 110 | } |
| 111 | |
| 112 | RTCCodecStats::~RTCCodecStats() { |
| 113 | } |
| 114 | |
Steve Anton | d6a5cbd | 2017-08-18 09:40:25 -0700 | [diff] [blame] | 115 | // clang-format off |
hbos | 2fa7c67 | 2016-10-24 04:00:05 -0700 | [diff] [blame] | 116 | WEBRTC_RTCSTATS_IMPL(RTCDataChannelStats, RTCStats, "data-channel", |
| 117 | &label, |
| 118 | &protocol, |
| 119 | &datachannelid, |
| 120 | &state, |
| 121 | &messages_sent, |
| 122 | &bytes_sent, |
| 123 | &messages_received, |
| 124 | &bytes_received); |
Steve Anton | d6a5cbd | 2017-08-18 09:40:25 -0700 | [diff] [blame] | 125 | // clang-format on |
hbos | 2fa7c67 | 2016-10-24 04:00:05 -0700 | [diff] [blame] | 126 | |
| 127 | RTCDataChannelStats::RTCDataChannelStats( |
| 128 | const std::string& id, int64_t timestamp_us) |
| 129 | : RTCDataChannelStats(std::string(id), timestamp_us) { |
| 130 | } |
| 131 | |
| 132 | RTCDataChannelStats::RTCDataChannelStats( |
| 133 | std::string&& id, int64_t timestamp_us) |
| 134 | : RTCStats(std::move(id), timestamp_us), |
| 135 | label("label"), |
| 136 | protocol("protocol"), |
| 137 | datachannelid("datachannelid"), |
| 138 | state("state"), |
| 139 | messages_sent("messagesSent"), |
| 140 | bytes_sent("bytesSent"), |
| 141 | messages_received("messagesReceived"), |
| 142 | bytes_received("bytesReceived") { |
| 143 | } |
| 144 | |
| 145 | RTCDataChannelStats::RTCDataChannelStats( |
| 146 | const RTCDataChannelStats& other) |
| 147 | : RTCStats(other.id(), other.timestamp_us()), |
| 148 | label(other.label), |
| 149 | protocol(other.protocol), |
| 150 | datachannelid(other.datachannelid), |
| 151 | state(other.state), |
| 152 | messages_sent(other.messages_sent), |
| 153 | bytes_sent(other.bytes_sent), |
| 154 | messages_received(other.messages_received), |
| 155 | bytes_received(other.bytes_received) { |
| 156 | } |
| 157 | |
| 158 | RTCDataChannelStats::~RTCDataChannelStats() { |
| 159 | } |
| 160 | |
Steve Anton | d6a5cbd | 2017-08-18 09:40:25 -0700 | [diff] [blame] | 161 | // clang-format off |
hbos | c47a0c3 | 2016-10-11 14:54:49 -0700 | [diff] [blame] | 162 | WEBRTC_RTCSTATS_IMPL(RTCIceCandidatePairStats, RTCStats, "candidate-pair", |
| 163 | &transport_id, |
| 164 | &local_candidate_id, |
| 165 | &remote_candidate_id, |
| 166 | &state, |
| 167 | &priority, |
| 168 | &nominated, |
| 169 | &writable, |
| 170 | &readable, |
| 171 | &bytes_sent, |
| 172 | &bytes_received, |
hbos | 3168c7a | 2016-12-15 06:17:08 -0800 | [diff] [blame] | 173 | &total_round_trip_time, |
| 174 | ¤t_round_trip_time, |
hbos | c47a0c3 | 2016-10-11 14:54:49 -0700 | [diff] [blame] | 175 | &available_outgoing_bitrate, |
| 176 | &available_incoming_bitrate, |
| 177 | &requests_received, |
| 178 | &requests_sent, |
| 179 | &responses_received, |
| 180 | &responses_sent, |
| 181 | &retransmissions_received, |
| 182 | &retransmissions_sent, |
| 183 | &consent_requests_received, |
| 184 | &consent_requests_sent, |
| 185 | &consent_responses_received, |
| 186 | &consent_responses_sent); |
Steve Anton | d6a5cbd | 2017-08-18 09:40:25 -0700 | [diff] [blame] | 187 | // clang-format on |
hbos | c47a0c3 | 2016-10-11 14:54:49 -0700 | [diff] [blame] | 188 | |
| 189 | RTCIceCandidatePairStats::RTCIceCandidatePairStats( |
| 190 | const std::string& id, int64_t timestamp_us) |
| 191 | : RTCIceCandidatePairStats(std::string(id), timestamp_us) { |
| 192 | } |
| 193 | |
| 194 | RTCIceCandidatePairStats::RTCIceCandidatePairStats( |
| 195 | std::string&& id, int64_t timestamp_us) |
| 196 | : RTCStats(std::move(id), timestamp_us), |
| 197 | transport_id("transportId"), |
| 198 | local_candidate_id("localCandidateId"), |
| 199 | remote_candidate_id("remoteCandidateId"), |
| 200 | state("state"), |
| 201 | priority("priority"), |
| 202 | nominated("nominated"), |
| 203 | writable("writable"), |
| 204 | readable("readable"), |
| 205 | bytes_sent("bytesSent"), |
| 206 | bytes_received("bytesReceived"), |
hbos | 3168c7a | 2016-12-15 06:17:08 -0800 | [diff] [blame] | 207 | total_round_trip_time("totalRoundTripTime"), |
| 208 | current_round_trip_time("currentRoundTripTime"), |
hbos | c47a0c3 | 2016-10-11 14:54:49 -0700 | [diff] [blame] | 209 | available_outgoing_bitrate("availableOutgoingBitrate"), |
| 210 | available_incoming_bitrate("availableIncomingBitrate"), |
| 211 | requests_received("requestsReceived"), |
| 212 | requests_sent("requestsSent"), |
| 213 | responses_received("responsesReceived"), |
| 214 | responses_sent("responsesSent"), |
| 215 | retransmissions_received("retransmissionsReceived"), |
| 216 | retransmissions_sent("retransmissionsSent"), |
| 217 | consent_requests_received("consentRequestsReceived"), |
| 218 | consent_requests_sent("consentRequestsSent"), |
| 219 | consent_responses_received("consentResponsesReceived"), |
| 220 | consent_responses_sent("consentResponsesSent") { |
| 221 | } |
| 222 | |
| 223 | RTCIceCandidatePairStats::RTCIceCandidatePairStats( |
| 224 | const RTCIceCandidatePairStats& other) |
| 225 | : RTCStats(other.id(), other.timestamp_us()), |
| 226 | transport_id(other.transport_id), |
| 227 | local_candidate_id(other.local_candidate_id), |
| 228 | remote_candidate_id(other.remote_candidate_id), |
| 229 | state(other.state), |
| 230 | priority(other.priority), |
| 231 | nominated(other.nominated), |
| 232 | writable(other.writable), |
| 233 | readable(other.readable), |
| 234 | bytes_sent(other.bytes_sent), |
| 235 | bytes_received(other.bytes_received), |
hbos | 3168c7a | 2016-12-15 06:17:08 -0800 | [diff] [blame] | 236 | total_round_trip_time(other.total_round_trip_time), |
| 237 | current_round_trip_time(other.current_round_trip_time), |
hbos | c47a0c3 | 2016-10-11 14:54:49 -0700 | [diff] [blame] | 238 | available_outgoing_bitrate(other.available_outgoing_bitrate), |
| 239 | available_incoming_bitrate(other.available_incoming_bitrate), |
| 240 | requests_received(other.requests_received), |
| 241 | requests_sent(other.requests_sent), |
| 242 | responses_received(other.responses_received), |
| 243 | responses_sent(other.responses_sent), |
| 244 | retransmissions_received(other.retransmissions_received), |
| 245 | retransmissions_sent(other.retransmissions_sent), |
| 246 | consent_requests_received(other.consent_requests_received), |
| 247 | consent_requests_sent(other.consent_requests_sent), |
| 248 | consent_responses_received(other.consent_responses_received), |
| 249 | consent_responses_sent(other.consent_responses_sent) { |
| 250 | } |
| 251 | |
| 252 | RTCIceCandidatePairStats::~RTCIceCandidatePairStats() { |
| 253 | } |
| 254 | |
Steve Anton | d6a5cbd | 2017-08-18 09:40:25 -0700 | [diff] [blame] | 255 | // clang-format off |
hbos | ab9f6e4 | 2016-10-07 02:18:47 -0700 | [diff] [blame] | 256 | WEBRTC_RTCSTATS_IMPL(RTCIceCandidateStats, RTCStats, "ice-candidate", |
hbos | b4e426e | 2017-01-02 09:59:31 -0800 | [diff] [blame] | 257 | &transport_id, |
hbos | c3a2b7f | 2017-01-02 04:46:15 -0800 | [diff] [blame] | 258 | &is_remote, |
hbos | ab9f6e4 | 2016-10-07 02:18:47 -0700 | [diff] [blame] | 259 | &ip, |
| 260 | &port, |
| 261 | &protocol, |
| 262 | &candidate_type, |
| 263 | &priority, |
hbos | d17a5a7 | 2017-01-02 08:09:59 -0800 | [diff] [blame] | 264 | &url, |
| 265 | &deleted); |
Steve Anton | d6a5cbd | 2017-08-18 09:40:25 -0700 | [diff] [blame] | 266 | // clang-format on |
hbos | ab9f6e4 | 2016-10-07 02:18:47 -0700 | [diff] [blame] | 267 | |
| 268 | RTCIceCandidateStats::RTCIceCandidateStats( |
hbos | c3a2b7f | 2017-01-02 04:46:15 -0800 | [diff] [blame] | 269 | const std::string& id, int64_t timestamp_us, bool is_remote) |
| 270 | : RTCIceCandidateStats(std::string(id), timestamp_us, is_remote) { |
hbos | ab9f6e4 | 2016-10-07 02:18:47 -0700 | [diff] [blame] | 271 | } |
| 272 | |
| 273 | RTCIceCandidateStats::RTCIceCandidateStats( |
hbos | c3a2b7f | 2017-01-02 04:46:15 -0800 | [diff] [blame] | 274 | std::string&& id, int64_t timestamp_us, bool is_remote) |
hbos | ab9f6e4 | 2016-10-07 02:18:47 -0700 | [diff] [blame] | 275 | : RTCStats(std::move(id), timestamp_us), |
hbos | b4e426e | 2017-01-02 09:59:31 -0800 | [diff] [blame] | 276 | transport_id("transportId"), |
hbos | c3a2b7f | 2017-01-02 04:46:15 -0800 | [diff] [blame] | 277 | is_remote("isRemote", is_remote), |
hbos | ab9f6e4 | 2016-10-07 02:18:47 -0700 | [diff] [blame] | 278 | ip("ip"), |
| 279 | port("port"), |
| 280 | protocol("protocol"), |
| 281 | candidate_type("candidateType"), |
| 282 | priority("priority"), |
hbos | d17a5a7 | 2017-01-02 08:09:59 -0800 | [diff] [blame] | 283 | url("url"), |
| 284 | deleted("deleted", false) { |
hbos | ab9f6e4 | 2016-10-07 02:18:47 -0700 | [diff] [blame] | 285 | } |
| 286 | |
| 287 | RTCIceCandidateStats::RTCIceCandidateStats(const RTCIceCandidateStats& other) |
| 288 | : RTCStats(other.id(), other.timestamp_us()), |
hbos | b4e426e | 2017-01-02 09:59:31 -0800 | [diff] [blame] | 289 | transport_id(other.transport_id), |
hbos | c3a2b7f | 2017-01-02 04:46:15 -0800 | [diff] [blame] | 290 | is_remote(other.is_remote), |
hbos | ab9f6e4 | 2016-10-07 02:18:47 -0700 | [diff] [blame] | 291 | ip(other.ip), |
| 292 | port(other.port), |
| 293 | protocol(other.protocol), |
| 294 | candidate_type(other.candidate_type), |
| 295 | priority(other.priority), |
hbos | d17a5a7 | 2017-01-02 08:09:59 -0800 | [diff] [blame] | 296 | url(other.url), |
| 297 | deleted(other.deleted) { |
hbos | ab9f6e4 | 2016-10-07 02:18:47 -0700 | [diff] [blame] | 298 | } |
| 299 | |
| 300 | RTCIceCandidateStats::~RTCIceCandidateStats() { |
| 301 | } |
| 302 | |
| 303 | const char RTCLocalIceCandidateStats::kType[] = "local-candidate"; |
| 304 | |
| 305 | RTCLocalIceCandidateStats::RTCLocalIceCandidateStats( |
| 306 | const std::string& id, int64_t timestamp_us) |
hbos | c3a2b7f | 2017-01-02 04:46:15 -0800 | [diff] [blame] | 307 | : RTCIceCandidateStats(id, timestamp_us, false) { |
hbos | ab9f6e4 | 2016-10-07 02:18:47 -0700 | [diff] [blame] | 308 | } |
| 309 | |
| 310 | RTCLocalIceCandidateStats::RTCLocalIceCandidateStats( |
| 311 | std::string&& id, int64_t timestamp_us) |
hbos | c3a2b7f | 2017-01-02 04:46:15 -0800 | [diff] [blame] | 312 | : RTCIceCandidateStats(std::move(id), timestamp_us, false) { |
hbos | ab9f6e4 | 2016-10-07 02:18:47 -0700 | [diff] [blame] | 313 | } |
| 314 | |
| 315 | const char* RTCLocalIceCandidateStats::type() const { |
| 316 | return kType; |
| 317 | } |
| 318 | |
| 319 | const char RTCRemoteIceCandidateStats::kType[] = "remote-candidate"; |
| 320 | |
| 321 | RTCRemoteIceCandidateStats::RTCRemoteIceCandidateStats( |
| 322 | const std::string& id, int64_t timestamp_us) |
hbos | c3a2b7f | 2017-01-02 04:46:15 -0800 | [diff] [blame] | 323 | : RTCIceCandidateStats(id, timestamp_us, true) { |
hbos | ab9f6e4 | 2016-10-07 02:18:47 -0700 | [diff] [blame] | 324 | } |
| 325 | |
| 326 | RTCRemoteIceCandidateStats::RTCRemoteIceCandidateStats( |
| 327 | std::string&& id, int64_t timestamp_us) |
hbos | c3a2b7f | 2017-01-02 04:46:15 -0800 | [diff] [blame] | 328 | : RTCIceCandidateStats(std::move(id), timestamp_us, true) { |
hbos | ab9f6e4 | 2016-10-07 02:18:47 -0700 | [diff] [blame] | 329 | } |
| 330 | |
| 331 | const char* RTCRemoteIceCandidateStats::type() const { |
| 332 | return kType; |
| 333 | } |
| 334 | |
Steve Anton | d6a5cbd | 2017-08-18 09:40:25 -0700 | [diff] [blame] | 335 | // clang-format off |
hbos | 09bc128 | 2016-11-08 06:29:22 -0800 | [diff] [blame] | 336 | WEBRTC_RTCSTATS_IMPL(RTCMediaStreamStats, RTCStats, "stream", |
| 337 | &stream_identifier, |
| 338 | &track_ids); |
Steve Anton | d6a5cbd | 2017-08-18 09:40:25 -0700 | [diff] [blame] | 339 | // clang-format on |
hbos | 09bc128 | 2016-11-08 06:29:22 -0800 | [diff] [blame] | 340 | |
| 341 | RTCMediaStreamStats::RTCMediaStreamStats( |
| 342 | const std::string& id, int64_t timestamp_us) |
| 343 | : RTCMediaStreamStats(std::string(id), timestamp_us) { |
| 344 | } |
| 345 | |
| 346 | RTCMediaStreamStats::RTCMediaStreamStats( |
| 347 | std::string&& id, int64_t timestamp_us) |
| 348 | : RTCStats(std::move(id), timestamp_us), |
| 349 | stream_identifier("streamIdentifier"), |
| 350 | track_ids("trackIds") { |
| 351 | } |
| 352 | |
| 353 | RTCMediaStreamStats::RTCMediaStreamStats( |
| 354 | const RTCMediaStreamStats& other) |
| 355 | : RTCStats(other.id(), other.timestamp_us()), |
| 356 | stream_identifier(other.stream_identifier), |
| 357 | track_ids(other.track_ids) { |
| 358 | } |
| 359 | |
| 360 | RTCMediaStreamStats::~RTCMediaStreamStats() { |
| 361 | } |
| 362 | |
Steve Anton | d6a5cbd | 2017-08-18 09:40:25 -0700 | [diff] [blame] | 363 | // clang-format off |
hbos | 09bc128 | 2016-11-08 06:29:22 -0800 | [diff] [blame] | 364 | WEBRTC_RTCSTATS_IMPL(RTCMediaStreamTrackStats, RTCStats, "track", |
zstein | e76bd3a | 2017-07-14 12:17:49 -0700 | [diff] [blame] | 365 | &track_identifier, |
| 366 | &remote_source, |
| 367 | &ended, |
| 368 | &detached, |
| 369 | &kind, |
Gustaf Ullberg | b0a0207 | 2017-10-02 12:00:34 +0200 | [diff] [blame^] | 370 | &jitter_buffer_delay, |
zstein | e76bd3a | 2017-07-14 12:17:49 -0700 | [diff] [blame] | 371 | &frame_width, |
| 372 | &frame_height, |
| 373 | &frames_per_second, |
| 374 | &frames_sent, |
| 375 | &frames_received, |
| 376 | &frames_decoded, |
| 377 | &frames_dropped, |
| 378 | &frames_corrupted, |
| 379 | &partial_frames_lost, |
| 380 | &full_frames_lost, |
| 381 | &audio_level, |
| 382 | &total_audio_energy, |
zstein | e76bd3a | 2017-07-14 12:17:49 -0700 | [diff] [blame] | 383 | &echo_return_loss, |
Steve Anton | 2dbc69f | 2017-08-24 17:15:13 -0700 | [diff] [blame] | 384 | &echo_return_loss_enhancement, |
| 385 | &total_samples_received, |
| 386 | &total_samples_duration, |
Gustaf Ullberg | 9a2e906 | 2017-09-18 09:28:20 +0200 | [diff] [blame] | 387 | &concealed_samples, |
| 388 | &concealment_events); |
Steve Anton | d6a5cbd | 2017-08-18 09:40:25 -0700 | [diff] [blame] | 389 | // clang-format on |
hbos | 09bc128 | 2016-11-08 06:29:22 -0800 | [diff] [blame] | 390 | |
| 391 | RTCMediaStreamTrackStats::RTCMediaStreamTrackStats( |
hbos | 160e4a7 | 2017-01-17 02:53:23 -0800 | [diff] [blame] | 392 | const std::string& id, int64_t timestamp_us, const char* kind) |
| 393 | : RTCMediaStreamTrackStats(std::string(id), timestamp_us, kind) { |
hbos | 09bc128 | 2016-11-08 06:29:22 -0800 | [diff] [blame] | 394 | } |
| 395 | |
zstein | e76bd3a | 2017-07-14 12:17:49 -0700 | [diff] [blame] | 396 | RTCMediaStreamTrackStats::RTCMediaStreamTrackStats(std::string&& id, |
| 397 | int64_t timestamp_us, |
| 398 | const char* kind) |
hbos | 09bc128 | 2016-11-08 06:29:22 -0800 | [diff] [blame] | 399 | : RTCStats(std::move(id), timestamp_us), |
| 400 | track_identifier("trackIdentifier"), |
| 401 | remote_source("remoteSource"), |
| 402 | ended("ended"), |
| 403 | detached("detached"), |
hbos | 160e4a7 | 2017-01-17 02:53:23 -0800 | [diff] [blame] | 404 | kind("kind", kind), |
Gustaf Ullberg | b0a0207 | 2017-10-02 12:00:34 +0200 | [diff] [blame^] | 405 | jitter_buffer_delay("jitterBufferDelay"), |
hbos | 09bc128 | 2016-11-08 06:29:22 -0800 | [diff] [blame] | 406 | frame_width("frameWidth"), |
| 407 | frame_height("frameHeight"), |
| 408 | frames_per_second("framesPerSecond"), |
| 409 | frames_sent("framesSent"), |
| 410 | frames_received("framesReceived"), |
| 411 | frames_decoded("framesDecoded"), |
| 412 | frames_dropped("framesDropped"), |
| 413 | frames_corrupted("framesCorrupted"), |
| 414 | partial_frames_lost("partialFramesLost"), |
| 415 | full_frames_lost("fullFramesLost"), |
| 416 | audio_level("audioLevel"), |
zstein | e76bd3a | 2017-07-14 12:17:49 -0700 | [diff] [blame] | 417 | total_audio_energy("totalAudioEnergy"), |
hbos | 09bc128 | 2016-11-08 06:29:22 -0800 | [diff] [blame] | 418 | echo_return_loss("echoReturnLoss"), |
Steve Anton | 2dbc69f | 2017-08-24 17:15:13 -0700 | [diff] [blame] | 419 | echo_return_loss_enhancement("echoReturnLossEnhancement"), |
| 420 | total_samples_received("totalSamplesReceived"), |
| 421 | total_samples_duration("totalSamplesDuration"), |
Gustaf Ullberg | 9a2e906 | 2017-09-18 09:28:20 +0200 | [diff] [blame] | 422 | concealed_samples("concealedSamples"), |
| 423 | concealment_events("concealmentEvents") { |
hbos | 160e4a7 | 2017-01-17 02:53:23 -0800 | [diff] [blame] | 424 | RTC_DCHECK(kind == RTCMediaStreamTrackKind::kAudio || |
| 425 | kind == RTCMediaStreamTrackKind::kVideo); |
hbos | 09bc128 | 2016-11-08 06:29:22 -0800 | [diff] [blame] | 426 | } |
| 427 | |
| 428 | RTCMediaStreamTrackStats::RTCMediaStreamTrackStats( |
| 429 | const RTCMediaStreamTrackStats& other) |
| 430 | : RTCStats(other.id(), other.timestamp_us()), |
| 431 | track_identifier(other.track_identifier), |
| 432 | remote_source(other.remote_source), |
| 433 | ended(other.ended), |
| 434 | detached(other.detached), |
hbos | 160e4a7 | 2017-01-17 02:53:23 -0800 | [diff] [blame] | 435 | kind(other.kind), |
Gustaf Ullberg | b0a0207 | 2017-10-02 12:00:34 +0200 | [diff] [blame^] | 436 | jitter_buffer_delay(other.jitter_buffer_delay), |
hbos | 09bc128 | 2016-11-08 06:29:22 -0800 | [diff] [blame] | 437 | frame_width(other.frame_width), |
| 438 | frame_height(other.frame_height), |
| 439 | frames_per_second(other.frames_per_second), |
| 440 | frames_sent(other.frames_sent), |
| 441 | frames_received(other.frames_received), |
| 442 | frames_decoded(other.frames_decoded), |
| 443 | frames_dropped(other.frames_dropped), |
| 444 | frames_corrupted(other.frames_corrupted), |
| 445 | partial_frames_lost(other.partial_frames_lost), |
| 446 | full_frames_lost(other.full_frames_lost), |
| 447 | audio_level(other.audio_level), |
zstein | e76bd3a | 2017-07-14 12:17:49 -0700 | [diff] [blame] | 448 | total_audio_energy(other.total_audio_energy), |
hbos | 09bc128 | 2016-11-08 06:29:22 -0800 | [diff] [blame] | 449 | echo_return_loss(other.echo_return_loss), |
Steve Anton | 2dbc69f | 2017-08-24 17:15:13 -0700 | [diff] [blame] | 450 | echo_return_loss_enhancement(other.echo_return_loss_enhancement), |
| 451 | total_samples_received(other.total_samples_received), |
| 452 | total_samples_duration(other.total_samples_duration), |
Gustaf Ullberg | 9a2e906 | 2017-09-18 09:28:20 +0200 | [diff] [blame] | 453 | concealed_samples(other.concealed_samples), |
| 454 | concealment_events(other.concealment_events) {} |
hbos | 09bc128 | 2016-11-08 06:29:22 -0800 | [diff] [blame] | 455 | |
| 456 | RTCMediaStreamTrackStats::~RTCMediaStreamTrackStats() { |
| 457 | } |
| 458 | |
Steve Anton | d6a5cbd | 2017-08-18 09:40:25 -0700 | [diff] [blame] | 459 | // clang-format off |
hbos | fc5e050 | 2016-10-06 02:06:10 -0700 | [diff] [blame] | 460 | WEBRTC_RTCSTATS_IMPL(RTCPeerConnectionStats, RTCStats, "peer-connection", |
| 461 | &data_channels_opened, |
| 462 | &data_channels_closed); |
Steve Anton | d6a5cbd | 2017-08-18 09:40:25 -0700 | [diff] [blame] | 463 | // clang-format on |
hbos | d565b73 | 2016-08-30 14:04:35 -0700 | [diff] [blame] | 464 | |
| 465 | RTCPeerConnectionStats::RTCPeerConnectionStats( |
hbos | 0e6758d | 2016-08-31 07:57:36 -0700 | [diff] [blame] | 466 | const std::string& id, int64_t timestamp_us) |
| 467 | : RTCPeerConnectionStats(std::string(id), timestamp_us) { |
hbos | d565b73 | 2016-08-30 14:04:35 -0700 | [diff] [blame] | 468 | } |
| 469 | |
| 470 | RTCPeerConnectionStats::RTCPeerConnectionStats( |
hbos | 0e6758d | 2016-08-31 07:57:36 -0700 | [diff] [blame] | 471 | std::string&& id, int64_t timestamp_us) |
| 472 | : RTCStats(std::move(id), timestamp_us), |
hbos | d565b73 | 2016-08-30 14:04:35 -0700 | [diff] [blame] | 473 | data_channels_opened("dataChannelsOpened"), |
| 474 | data_channels_closed("dataChannelsClosed") { |
| 475 | } |
| 476 | |
hbos | fc5e050 | 2016-10-06 02:06:10 -0700 | [diff] [blame] | 477 | RTCPeerConnectionStats::RTCPeerConnectionStats( |
| 478 | const RTCPeerConnectionStats& other) |
| 479 | : RTCStats(other.id(), other.timestamp_us()), |
| 480 | data_channels_opened(other.data_channels_opened), |
| 481 | data_channels_closed(other.data_channels_closed) { |
| 482 | } |
| 483 | |
| 484 | RTCPeerConnectionStats::~RTCPeerConnectionStats() { |
| 485 | } |
| 486 | |
Steve Anton | d6a5cbd | 2017-08-18 09:40:25 -0700 | [diff] [blame] | 487 | // clang-format off |
hbos | 6ded190 | 2016-11-01 01:50:46 -0700 | [diff] [blame] | 488 | WEBRTC_RTCSTATS_IMPL(RTCRTPStreamStats, RTCStats, "rtp", |
| 489 | &ssrc, |
| 490 | &associate_stats_id, |
| 491 | &is_remote, |
| 492 | &media_type, |
hbos | b0ae920 | 2017-01-27 06:35:16 -0800 | [diff] [blame] | 493 | &track_id, |
hbos | 6ded190 | 2016-11-01 01:50:46 -0700 | [diff] [blame] | 494 | &transport_id, |
| 495 | &codec_id, |
| 496 | &fir_count, |
| 497 | &pli_count, |
| 498 | &nack_count, |
hbos | 6769c49 | 2017-01-02 08:35:13 -0800 | [diff] [blame] | 499 | &sli_count, |
| 500 | &qp_sum); |
Steve Anton | d6a5cbd | 2017-08-18 09:40:25 -0700 | [diff] [blame] | 501 | // clang-format on |
hbos | 6ded190 | 2016-11-01 01:50:46 -0700 | [diff] [blame] | 502 | |
| 503 | RTCRTPStreamStats::RTCRTPStreamStats( |
| 504 | const std::string& id, int64_t timestamp_us) |
| 505 | : RTCRTPStreamStats(std::string(id), timestamp_us) { |
| 506 | } |
| 507 | |
| 508 | RTCRTPStreamStats::RTCRTPStreamStats( |
| 509 | std::string&& id, int64_t timestamp_us) |
| 510 | : RTCStats(std::move(id), timestamp_us), |
| 511 | ssrc("ssrc"), |
| 512 | associate_stats_id("associateStatsId"), |
| 513 | is_remote("isRemote", false), |
| 514 | media_type("mediaType"), |
hbos | b0ae920 | 2017-01-27 06:35:16 -0800 | [diff] [blame] | 515 | track_id("trackId"), |
hbos | 6ded190 | 2016-11-01 01:50:46 -0700 | [diff] [blame] | 516 | transport_id("transportId"), |
| 517 | codec_id("codecId"), |
| 518 | fir_count("firCount"), |
| 519 | pli_count("pliCount"), |
| 520 | nack_count("nackCount"), |
hbos | 6769c49 | 2017-01-02 08:35:13 -0800 | [diff] [blame] | 521 | sli_count("sliCount"), |
| 522 | qp_sum("qpSum") { |
hbos | 6ded190 | 2016-11-01 01:50:46 -0700 | [diff] [blame] | 523 | } |
| 524 | |
| 525 | RTCRTPStreamStats::RTCRTPStreamStats( |
| 526 | const RTCRTPStreamStats& other) |
| 527 | : RTCStats(other.id(), other.timestamp_us()), |
| 528 | ssrc(other.ssrc), |
| 529 | associate_stats_id(other.associate_stats_id), |
| 530 | is_remote(other.is_remote), |
| 531 | media_type(other.media_type), |
hbos | b0ae920 | 2017-01-27 06:35:16 -0800 | [diff] [blame] | 532 | track_id(other.track_id), |
hbos | 6ded190 | 2016-11-01 01:50:46 -0700 | [diff] [blame] | 533 | transport_id(other.transport_id), |
| 534 | codec_id(other.codec_id), |
| 535 | fir_count(other.fir_count), |
| 536 | pli_count(other.pli_count), |
| 537 | nack_count(other.nack_count), |
hbos | 6769c49 | 2017-01-02 08:35:13 -0800 | [diff] [blame] | 538 | sli_count(other.sli_count), |
| 539 | qp_sum(other.qp_sum) { |
hbos | 6ded190 | 2016-11-01 01:50:46 -0700 | [diff] [blame] | 540 | } |
| 541 | |
| 542 | RTCRTPStreamStats::~RTCRTPStreamStats() { |
| 543 | } |
| 544 | |
Steve Anton | d6a5cbd | 2017-08-18 09:40:25 -0700 | [diff] [blame] | 545 | // clang-format off |
hbos | 6ded190 | 2016-11-01 01:50:46 -0700 | [diff] [blame] | 546 | WEBRTC_RTCSTATS_IMPL( |
hbos | eeafe94 | 2016-11-01 03:00:17 -0700 | [diff] [blame] | 547 | RTCInboundRTPStreamStats, RTCRTPStreamStats, "inbound-rtp", |
| 548 | &packets_received, |
| 549 | &bytes_received, |
| 550 | &packets_lost, |
| 551 | &jitter, |
| 552 | &fraction_lost, |
hbos | a7a9be1 | 2017-03-01 01:02:45 -0800 | [diff] [blame] | 553 | &round_trip_time, |
hbos | eeafe94 | 2016-11-01 03:00:17 -0700 | [diff] [blame] | 554 | &packets_discarded, |
| 555 | &packets_repaired, |
| 556 | &burst_packets_lost, |
| 557 | &burst_packets_discarded, |
| 558 | &burst_loss_count, |
| 559 | &burst_discard_count, |
| 560 | &burst_loss_rate, |
| 561 | &burst_discard_rate, |
| 562 | &gap_loss_rate, |
hbos | 6769c49 | 2017-01-02 08:35:13 -0800 | [diff] [blame] | 563 | &gap_discard_rate, |
| 564 | &frames_decoded); |
Steve Anton | d6a5cbd | 2017-08-18 09:40:25 -0700 | [diff] [blame] | 565 | // clang-format on |
hbos | eeafe94 | 2016-11-01 03:00:17 -0700 | [diff] [blame] | 566 | |
| 567 | RTCInboundRTPStreamStats::RTCInboundRTPStreamStats( |
| 568 | const std::string& id, int64_t timestamp_us) |
| 569 | : RTCInboundRTPStreamStats(std::string(id), timestamp_us) { |
| 570 | } |
| 571 | |
| 572 | RTCInboundRTPStreamStats::RTCInboundRTPStreamStats( |
| 573 | std::string&& id, int64_t timestamp_us) |
| 574 | : RTCRTPStreamStats(std::move(id), timestamp_us), |
| 575 | packets_received("packetsReceived"), |
| 576 | bytes_received("bytesReceived"), |
| 577 | packets_lost("packetsLost"), |
| 578 | jitter("jitter"), |
| 579 | fraction_lost("fractionLost"), |
hbos | a7a9be1 | 2017-03-01 01:02:45 -0800 | [diff] [blame] | 580 | round_trip_time("roundTripTime"), |
hbos | eeafe94 | 2016-11-01 03:00:17 -0700 | [diff] [blame] | 581 | packets_discarded("packetsDiscarded"), |
| 582 | packets_repaired("packetsRepaired"), |
| 583 | burst_packets_lost("burstPacketsLost"), |
| 584 | burst_packets_discarded("burstPacketsDiscarded"), |
| 585 | burst_loss_count("burstLossCount"), |
| 586 | burst_discard_count("burstDiscardCount"), |
| 587 | burst_loss_rate("burstLossRate"), |
| 588 | burst_discard_rate("burstDiscardRate"), |
| 589 | gap_loss_rate("gapLossRate"), |
hbos | 6769c49 | 2017-01-02 08:35:13 -0800 | [diff] [blame] | 590 | gap_discard_rate("gapDiscardRate"), |
| 591 | frames_decoded("framesDecoded") { |
hbos | eeafe94 | 2016-11-01 03:00:17 -0700 | [diff] [blame] | 592 | } |
| 593 | |
| 594 | RTCInboundRTPStreamStats::RTCInboundRTPStreamStats( |
| 595 | const RTCInboundRTPStreamStats& other) |
| 596 | : RTCRTPStreamStats(other), |
| 597 | packets_received(other.packets_received), |
| 598 | bytes_received(other.bytes_received), |
| 599 | packets_lost(other.packets_lost), |
| 600 | jitter(other.jitter), |
| 601 | fraction_lost(other.fraction_lost), |
hbos | a7a9be1 | 2017-03-01 01:02:45 -0800 | [diff] [blame] | 602 | round_trip_time(other.round_trip_time), |
hbos | eeafe94 | 2016-11-01 03:00:17 -0700 | [diff] [blame] | 603 | packets_discarded(other.packets_discarded), |
| 604 | packets_repaired(other.packets_repaired), |
| 605 | burst_packets_lost(other.burst_packets_lost), |
| 606 | burst_packets_discarded(other.burst_packets_discarded), |
| 607 | burst_loss_count(other.burst_loss_count), |
| 608 | burst_discard_count(other.burst_discard_count), |
| 609 | burst_loss_rate(other.burst_loss_rate), |
| 610 | burst_discard_rate(other.burst_discard_rate), |
| 611 | gap_loss_rate(other.gap_loss_rate), |
hbos | 6769c49 | 2017-01-02 08:35:13 -0800 | [diff] [blame] | 612 | gap_discard_rate(other.gap_discard_rate), |
| 613 | frames_decoded(other.frames_decoded) { |
hbos | eeafe94 | 2016-11-01 03:00:17 -0700 | [diff] [blame] | 614 | } |
| 615 | |
| 616 | RTCInboundRTPStreamStats::~RTCInboundRTPStreamStats() { |
| 617 | } |
| 618 | |
Steve Anton | d6a5cbd | 2017-08-18 09:40:25 -0700 | [diff] [blame] | 619 | // clang-format off |
hbos | eeafe94 | 2016-11-01 03:00:17 -0700 | [diff] [blame] | 620 | WEBRTC_RTCSTATS_IMPL( |
hbos | 6ded190 | 2016-11-01 01:50:46 -0700 | [diff] [blame] | 621 | RTCOutboundRTPStreamStats, RTCRTPStreamStats, "outbound-rtp", |
| 622 | &packets_sent, |
| 623 | &bytes_sent, |
| 624 | &target_bitrate, |
hbos | 6769c49 | 2017-01-02 08:35:13 -0800 | [diff] [blame] | 625 | &frames_encoded); |
Steve Anton | d6a5cbd | 2017-08-18 09:40:25 -0700 | [diff] [blame] | 626 | // clang-format on |
hbos | 6ded190 | 2016-11-01 01:50:46 -0700 | [diff] [blame] | 627 | |
| 628 | RTCOutboundRTPStreamStats::RTCOutboundRTPStreamStats( |
| 629 | const std::string& id, int64_t timestamp_us) |
| 630 | : RTCOutboundRTPStreamStats(std::string(id), timestamp_us) { |
| 631 | } |
| 632 | |
| 633 | RTCOutboundRTPStreamStats::RTCOutboundRTPStreamStats( |
| 634 | std::string&& id, int64_t timestamp_us) |
| 635 | : RTCRTPStreamStats(std::move(id), timestamp_us), |
| 636 | packets_sent("packetsSent"), |
| 637 | bytes_sent("bytesSent"), |
| 638 | target_bitrate("targetBitrate"), |
hbos | 6769c49 | 2017-01-02 08:35:13 -0800 | [diff] [blame] | 639 | frames_encoded("framesEncoded") { |
hbos | 6ded190 | 2016-11-01 01:50:46 -0700 | [diff] [blame] | 640 | } |
| 641 | |
| 642 | RTCOutboundRTPStreamStats::RTCOutboundRTPStreamStats( |
| 643 | const RTCOutboundRTPStreamStats& other) |
| 644 | : RTCRTPStreamStats(other), |
| 645 | packets_sent(other.packets_sent), |
| 646 | bytes_sent(other.bytes_sent), |
| 647 | target_bitrate(other.target_bitrate), |
hbos | 6769c49 | 2017-01-02 08:35:13 -0800 | [diff] [blame] | 648 | frames_encoded(other.frames_encoded) { |
hbos | 6ded190 | 2016-11-01 01:50:46 -0700 | [diff] [blame] | 649 | } |
| 650 | |
| 651 | RTCOutboundRTPStreamStats::~RTCOutboundRTPStreamStats() { |
| 652 | } |
| 653 | |
Steve Anton | d6a5cbd | 2017-08-18 09:40:25 -0700 | [diff] [blame] | 654 | // clang-format off |
hbos | 2fa7c67 | 2016-10-24 04:00:05 -0700 | [diff] [blame] | 655 | WEBRTC_RTCSTATS_IMPL(RTCTransportStats, RTCStats, "transport", |
| 656 | &bytes_sent, |
| 657 | &bytes_received, |
| 658 | &rtcp_transport_stats_id, |
hbos | 7064d59 | 2017-01-16 07:38:02 -0800 | [diff] [blame] | 659 | &dtls_state, |
hbos | 2fa7c67 | 2016-10-24 04:00:05 -0700 | [diff] [blame] | 660 | &selected_candidate_pair_id, |
| 661 | &local_certificate_id, |
| 662 | &remote_certificate_id); |
Steve Anton | d6a5cbd | 2017-08-18 09:40:25 -0700 | [diff] [blame] | 663 | // clang-format on |
hbos | 2fa7c67 | 2016-10-24 04:00:05 -0700 | [diff] [blame] | 664 | |
| 665 | RTCTransportStats::RTCTransportStats( |
| 666 | const std::string& id, int64_t timestamp_us) |
| 667 | : RTCTransportStats(std::string(id), timestamp_us) { |
| 668 | } |
| 669 | |
| 670 | RTCTransportStats::RTCTransportStats( |
| 671 | std::string&& id, int64_t timestamp_us) |
| 672 | : RTCStats(std::move(id), timestamp_us), |
| 673 | bytes_sent("bytesSent"), |
| 674 | bytes_received("bytesReceived"), |
| 675 | rtcp_transport_stats_id("rtcpTransportStatsId"), |
hbos | 7064d59 | 2017-01-16 07:38:02 -0800 | [diff] [blame] | 676 | dtls_state("dtlsState"), |
hbos | 2fa7c67 | 2016-10-24 04:00:05 -0700 | [diff] [blame] | 677 | selected_candidate_pair_id("selectedCandidatePairId"), |
| 678 | local_certificate_id("localCertificateId"), |
| 679 | remote_certificate_id("remoteCertificateId") { |
| 680 | } |
| 681 | |
| 682 | RTCTransportStats::RTCTransportStats( |
| 683 | const RTCTransportStats& other) |
| 684 | : RTCStats(other.id(), other.timestamp_us()), |
| 685 | bytes_sent(other.bytes_sent), |
| 686 | bytes_received(other.bytes_received), |
| 687 | rtcp_transport_stats_id(other.rtcp_transport_stats_id), |
hbos | 7064d59 | 2017-01-16 07:38:02 -0800 | [diff] [blame] | 688 | dtls_state(other.dtls_state), |
hbos | 2fa7c67 | 2016-10-24 04:00:05 -0700 | [diff] [blame] | 689 | selected_candidate_pair_id(other.selected_candidate_pair_id), |
| 690 | local_certificate_id(other.local_certificate_id), |
| 691 | remote_certificate_id(other.remote_certificate_id) { |
| 692 | } |
| 693 | |
| 694 | RTCTransportStats::~RTCTransportStats() { |
| 695 | } |
| 696 | |
hbos | d565b73 | 2016-08-30 14:04:35 -0700 | [diff] [blame] | 697 | } // namespace webrtc |