| 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 437 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 448 } | 448 } |
| 449 | 449 |
| 450 RTCPeerConnectionStats::~RTCPeerConnectionStats() { | 450 RTCPeerConnectionStats::~RTCPeerConnectionStats() { |
| 451 } | 451 } |
| 452 | 452 |
| 453 WEBRTC_RTCSTATS_IMPL(RTCRTPStreamStats, RTCStats, "rtp", | 453 WEBRTC_RTCSTATS_IMPL(RTCRTPStreamStats, RTCStats, "rtp", |
| 454 &ssrc, | 454 &ssrc, |
| 455 &associate_stats_id, | 455 &associate_stats_id, |
| 456 &is_remote, | 456 &is_remote, |
| 457 &media_type, | 457 &media_type, |
| 458 &media_track_id, | 458 &track_id, |
| 459 &transport_id, | 459 &transport_id, |
| 460 &codec_id, | 460 &codec_id, |
| 461 &fir_count, | 461 &fir_count, |
| 462 &pli_count, | 462 &pli_count, |
| 463 &nack_count, | 463 &nack_count, |
| 464 &sli_count, | 464 &sli_count, |
| 465 &qp_sum); | 465 &qp_sum); |
| 466 | 466 |
| 467 RTCRTPStreamStats::RTCRTPStreamStats( | 467 RTCRTPStreamStats::RTCRTPStreamStats( |
| 468 const std::string& id, int64_t timestamp_us) | 468 const std::string& id, int64_t timestamp_us) |
| 469 : RTCRTPStreamStats(std::string(id), timestamp_us) { | 469 : RTCRTPStreamStats(std::string(id), timestamp_us) { |
| 470 } | 470 } |
| 471 | 471 |
| 472 RTCRTPStreamStats::RTCRTPStreamStats( | 472 RTCRTPStreamStats::RTCRTPStreamStats( |
| 473 std::string&& id, int64_t timestamp_us) | 473 std::string&& id, int64_t timestamp_us) |
| 474 : RTCStats(std::move(id), timestamp_us), | 474 : RTCStats(std::move(id), timestamp_us), |
| 475 ssrc("ssrc"), | 475 ssrc("ssrc"), |
| 476 associate_stats_id("associateStatsId"), | 476 associate_stats_id("associateStatsId"), |
| 477 is_remote("isRemote", false), | 477 is_remote("isRemote", false), |
| 478 media_type("mediaType"), | 478 media_type("mediaType"), |
| 479 media_track_id("mediaTrackId"), | 479 track_id("trackId"), |
| 480 transport_id("transportId"), | 480 transport_id("transportId"), |
| 481 codec_id("codecId"), | 481 codec_id("codecId"), |
| 482 fir_count("firCount"), | 482 fir_count("firCount"), |
| 483 pli_count("pliCount"), | 483 pli_count("pliCount"), |
| 484 nack_count("nackCount"), | 484 nack_count("nackCount"), |
| 485 sli_count("sliCount"), | 485 sli_count("sliCount"), |
| 486 qp_sum("qpSum") { | 486 qp_sum("qpSum") { |
| 487 } | 487 } |
| 488 | 488 |
| 489 RTCRTPStreamStats::RTCRTPStreamStats( | 489 RTCRTPStreamStats::RTCRTPStreamStats( |
| 490 const RTCRTPStreamStats& other) | 490 const RTCRTPStreamStats& other) |
| 491 : RTCStats(other.id(), other.timestamp_us()), | 491 : RTCStats(other.id(), other.timestamp_us()), |
| 492 ssrc(other.ssrc), | 492 ssrc(other.ssrc), |
| 493 associate_stats_id(other.associate_stats_id), | 493 associate_stats_id(other.associate_stats_id), |
| 494 is_remote(other.is_remote), | 494 is_remote(other.is_remote), |
| 495 media_type(other.media_type), | 495 media_type(other.media_type), |
| 496 media_track_id(other.media_track_id), | 496 track_id(other.track_id), |
| 497 transport_id(other.transport_id), | 497 transport_id(other.transport_id), |
| 498 codec_id(other.codec_id), | 498 codec_id(other.codec_id), |
| 499 fir_count(other.fir_count), | 499 fir_count(other.fir_count), |
| 500 pli_count(other.pli_count), | 500 pli_count(other.pli_count), |
| 501 nack_count(other.nack_count), | 501 nack_count(other.nack_count), |
| 502 sli_count(other.sli_count), | 502 sli_count(other.sli_count), |
| 503 qp_sum(other.qp_sum) { | 503 qp_sum(other.qp_sum) { |
| 504 } | 504 } |
| 505 | 505 |
| 506 RTCRTPStreamStats::~RTCRTPStreamStats() { | 506 RTCRTPStreamStats::~RTCRTPStreamStats() { |
| (...skipping 139 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 646 dtls_state(other.dtls_state), | 646 dtls_state(other.dtls_state), |
| 647 selected_candidate_pair_id(other.selected_candidate_pair_id), | 647 selected_candidate_pair_id(other.selected_candidate_pair_id), |
| 648 local_certificate_id(other.local_certificate_id), | 648 local_certificate_id(other.local_certificate_id), |
| 649 remote_certificate_id(other.remote_certificate_id) { | 649 remote_certificate_id(other.remote_certificate_id) { |
| 650 } | 650 } |
| 651 | 651 |
| 652 RTCTransportStats::~RTCTransportStats() { | 652 RTCTransportStats::~RTCTransportStats() { |
| 653 } | 653 } |
| 654 | 654 |
| 655 } // namespace webrtc | 655 } // namespace webrtc |
| OLD | NEW |