OLD | NEW |
1 /* | 1 /* |
2 * Copyright 2016 The WebRTC Project Authors. All rights reserved. | 2 * Copyright 2016 The WebRTC Project Authors. All rights reserved. |
3 * | 3 * |
4 * Use of this source code is governed by a BSD-style license | 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 | 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 | 6 * tree. An additional intellectual property rights grant can be found |
7 * in the file PATENTS. All contributing project authors may | 7 * in the file PATENTS. All contributing project authors may |
8 * be found in the AUTHORS file in the root of the source tree. | 8 * be found in the AUTHORS file in the root of the source tree. |
9 */ | 9 */ |
10 | 10 |
(...skipping 219 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
230 consent_requests_received(other.consent_requests_received), | 230 consent_requests_received(other.consent_requests_received), |
231 consent_requests_sent(other.consent_requests_sent), | 231 consent_requests_sent(other.consent_requests_sent), |
232 consent_responses_received(other.consent_responses_received), | 232 consent_responses_received(other.consent_responses_received), |
233 consent_responses_sent(other.consent_responses_sent) { | 233 consent_responses_sent(other.consent_responses_sent) { |
234 } | 234 } |
235 | 235 |
236 RTCIceCandidatePairStats::~RTCIceCandidatePairStats() { | 236 RTCIceCandidatePairStats::~RTCIceCandidatePairStats() { |
237 } | 237 } |
238 | 238 |
239 WEBRTC_RTCSTATS_IMPL(RTCIceCandidateStats, RTCStats, "ice-candidate", | 239 WEBRTC_RTCSTATS_IMPL(RTCIceCandidateStats, RTCStats, "ice-candidate", |
| 240 &transport_id, |
240 &ip, | 241 &ip, |
241 &port, | 242 &port, |
242 &protocol, | 243 &protocol, |
243 &candidate_type, | 244 &candidate_type, |
244 &priority, | 245 &priority, |
245 &url); | 246 &url); |
246 | 247 |
247 RTCIceCandidateStats::RTCIceCandidateStats( | 248 RTCIceCandidateStats::RTCIceCandidateStats( |
248 const std::string& id, int64_t timestamp_us) | 249 const std::string& id, int64_t timestamp_us) |
249 : RTCIceCandidateStats(std::string(id), timestamp_us) { | 250 : RTCIceCandidateStats(std::string(id), timestamp_us) { |
250 } | 251 } |
251 | 252 |
252 RTCIceCandidateStats::RTCIceCandidateStats( | 253 RTCIceCandidateStats::RTCIceCandidateStats( |
253 std::string&& id, int64_t timestamp_us) | 254 std::string&& id, int64_t timestamp_us) |
254 : RTCStats(std::move(id), timestamp_us), | 255 : RTCStats(std::move(id), timestamp_us), |
| 256 transport_id("transportId"), |
255 ip("ip"), | 257 ip("ip"), |
256 port("port"), | 258 port("port"), |
257 protocol("protocol"), | 259 protocol("protocol"), |
258 candidate_type("candidateType"), | 260 candidate_type("candidateType"), |
259 priority("priority"), | 261 priority("priority"), |
260 url("url") { | 262 url("url") { |
261 } | 263 } |
262 | 264 |
263 RTCIceCandidateStats::RTCIceCandidateStats(const RTCIceCandidateStats& other) | 265 RTCIceCandidateStats::RTCIceCandidateStats(const RTCIceCandidateStats& other) |
264 : RTCStats(other.id(), other.timestamp_us()), | 266 : RTCStats(other.id(), other.timestamp_us()), |
| 267 transport_id(other.transport_id), |
265 ip(other.ip), | 268 ip(other.ip), |
266 port(other.port), | 269 port(other.port), |
267 protocol(other.protocol), | 270 protocol(other.protocol), |
268 candidate_type(other.candidate_type), | 271 candidate_type(other.candidate_type), |
269 priority(other.priority), | 272 priority(other.priority), |
270 url(other.url) { | 273 url(other.url) { |
271 } | 274 } |
272 | 275 |
273 RTCIceCandidateStats::~RTCIceCandidateStats() { | 276 RTCIceCandidateStats::~RTCIceCandidateStats() { |
274 } | 277 } |
(...skipping 343 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
618 active_connection(other.active_connection), | 621 active_connection(other.active_connection), |
619 selected_candidate_pair_id(other.selected_candidate_pair_id), | 622 selected_candidate_pair_id(other.selected_candidate_pair_id), |
620 local_certificate_id(other.local_certificate_id), | 623 local_certificate_id(other.local_certificate_id), |
621 remote_certificate_id(other.remote_certificate_id) { | 624 remote_certificate_id(other.remote_certificate_id) { |
622 } | 625 } |
623 | 626 |
624 RTCTransportStats::~RTCTransportStats() { | 627 RTCTransportStats::~RTCTransportStats() { |
625 } | 628 } |
626 | 629 |
627 } // namespace webrtc | 630 } // namespace webrtc |
OLD | NEW |