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 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
65 fingerprint_algorithm(other.fingerprint_algorithm), | 65 fingerprint_algorithm(other.fingerprint_algorithm), |
66 base64_certificate(other.base64_certificate), | 66 base64_certificate(other.base64_certificate), |
67 issuer_certificate_id(other.issuer_certificate_id) { | 67 issuer_certificate_id(other.issuer_certificate_id) { |
68 } | 68 } |
69 | 69 |
70 RTCCertificateStats::~RTCCertificateStats() { | 70 RTCCertificateStats::~RTCCertificateStats() { |
71 } | 71 } |
72 | 72 |
73 WEBRTC_RTCSTATS_IMPL(RTCCodecStats, RTCStats, "codec", | 73 WEBRTC_RTCSTATS_IMPL(RTCCodecStats, RTCStats, "codec", |
74 &payload_type, | 74 &payload_type, |
75 &codec, | 75 &mime_type, |
76 &clock_rate, | 76 &clock_rate, |
77 &channels, | 77 &channels, |
78 ¶meters, | 78 &sdp_fmtp_line, |
79 &implementation); | 79 &implementation); |
80 | 80 |
81 RTCCodecStats::RTCCodecStats( | 81 RTCCodecStats::RTCCodecStats( |
82 const std::string& id, int64_t timestamp_us) | 82 const std::string& id, int64_t timestamp_us) |
83 : RTCCodecStats(std::string(id), timestamp_us) { | 83 : RTCCodecStats(std::string(id), timestamp_us) { |
84 } | 84 } |
85 | 85 |
86 RTCCodecStats::RTCCodecStats( | 86 RTCCodecStats::RTCCodecStats( |
87 std::string&& id, int64_t timestamp_us) | 87 std::string&& id, int64_t timestamp_us) |
88 : RTCStats(std::move(id), timestamp_us), | 88 : RTCStats(std::move(id), timestamp_us), |
89 payload_type("payloadType"), | 89 payload_type("payloadType"), |
90 codec("codec"), | 90 mime_type("mimeType"), |
91 clock_rate("clockRate"), | 91 clock_rate("clockRate"), |
92 channels("channels"), | 92 channels("channels"), |
93 parameters("parameters"), | 93 sdp_fmtp_line("sdpFmtpLine"), |
94 implementation("implementation") { | 94 implementation("implementation") { |
95 } | 95 } |
96 | 96 |
97 RTCCodecStats::RTCCodecStats( | 97 RTCCodecStats::RTCCodecStats( |
98 const RTCCodecStats& other) | 98 const RTCCodecStats& other) |
99 : RTCStats(other.id(), other.timestamp_us()), | 99 : RTCStats(other.id(), other.timestamp_us()), |
100 payload_type(other.payload_type), | 100 payload_type(other.payload_type), |
101 codec(other.codec), | 101 mime_type(other.mime_type), |
102 clock_rate(other.clock_rate), | 102 clock_rate(other.clock_rate), |
103 channels(other.channels), | 103 channels(other.channels), |
104 parameters(other.parameters), | 104 sdp_fmtp_line(other.sdp_fmtp_line), |
105 implementation(other.implementation) { | 105 implementation(other.implementation) { |
106 } | 106 } |
107 | 107 |
108 RTCCodecStats::~RTCCodecStats() { | 108 RTCCodecStats::~RTCCodecStats() { |
109 } | 109 } |
110 | 110 |
111 WEBRTC_RTCSTATS_IMPL(RTCDataChannelStats, RTCStats, "data-channel", | 111 WEBRTC_RTCSTATS_IMPL(RTCDataChannelStats, RTCStats, "data-channel", |
112 &label, | 112 &label, |
113 &protocol, | 113 &protocol, |
114 &datachannelid, | 114 &datachannelid, |
(...skipping 531 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 |