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 118 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
129 RTCIceCandidatePairStats(const RTCIceCandidatePairStats& other); | 129 RTCIceCandidatePairStats(const RTCIceCandidatePairStats& other); |
130 ~RTCIceCandidatePairStats() override; | 130 ~RTCIceCandidatePairStats() override; |
131 | 131 |
132 RTCStatsMember<std::string> transport_id; | 132 RTCStatsMember<std::string> transport_id; |
133 RTCStatsMember<std::string> local_candidate_id; | 133 RTCStatsMember<std::string> local_candidate_id; |
134 RTCStatsMember<std::string> remote_candidate_id; | 134 RTCStatsMember<std::string> remote_candidate_id; |
135 // TODO(hbos): Support enum types? | 135 // TODO(hbos): Support enum types? |
136 // "RTCStatsMember<RTCStatsIceCandidatePairState>"? | 136 // "RTCStatsMember<RTCStatsIceCandidatePairState>"? |
137 RTCStatsMember<std::string> state; | 137 RTCStatsMember<std::string> state; |
138 RTCStatsMember<uint64_t> priority; | 138 RTCStatsMember<uint64_t> priority; |
139 // TODO(hbos): Collect and populate this value. https://bugs.webrtc.org/7062 | |
140 RTCStatsMember<bool> nominated; | 139 RTCStatsMember<bool> nominated; |
141 // TODO(hbos): Collect this the way the spec describes it. We have a value for | 140 // TODO(hbos): Collect this the way the spec describes it. We have a value for |
142 // it but it is not spec-compliant. https://bugs.webrtc.org/7062 | 141 // it but it is not spec-compliant. https://bugs.webrtc.org/7062 |
143 RTCStatsMember<bool> writable; | 142 RTCStatsMember<bool> writable; |
144 // TODO(hbos): Collect and populate this value. https://bugs.webrtc.org/7062 | 143 // TODO(hbos): Collect and populate this value. https://bugs.webrtc.org/7062 |
145 RTCStatsMember<bool> readable; | 144 RTCStatsMember<bool> readable; |
146 RTCStatsMember<uint64_t> bytes_sent; | 145 RTCStatsMember<uint64_t> bytes_sent; |
147 RTCStatsMember<uint64_t> bytes_received; | 146 RTCStatsMember<uint64_t> bytes_received; |
148 // TODO(hbos): Collect and populate this value. https://bugs.webrtc.org/7062 | 147 // TODO(hbos): Collect and populate this value. https://bugs.webrtc.org/7062 |
149 RTCStatsMember<double> total_round_trip_time; | 148 RTCStatsMember<double> total_round_trip_time; |
(...skipping 258 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
408 // TODO(hbos): Support enum types? "RTCStatsMember<RTCDtlsTransportState>"? | 407 // TODO(hbos): Support enum types? "RTCStatsMember<RTCDtlsTransportState>"? |
409 RTCStatsMember<std::string> dtls_state; | 408 RTCStatsMember<std::string> dtls_state; |
410 RTCStatsMember<std::string> selected_candidate_pair_id; | 409 RTCStatsMember<std::string> selected_candidate_pair_id; |
411 RTCStatsMember<std::string> local_certificate_id; | 410 RTCStatsMember<std::string> local_certificate_id; |
412 RTCStatsMember<std::string> remote_certificate_id; | 411 RTCStatsMember<std::string> remote_certificate_id; |
413 }; | 412 }; |
414 | 413 |
415 } // namespace webrtc | 414 } // namespace webrtc |
416 | 415 |
417 #endif // WEBRTC_API_STATS_RTCSTATS_OBJECTS_H_ | 416 #endif // WEBRTC_API_STATS_RTCSTATS_OBJECTS_H_ |
OLD | NEW |