| 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 126 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 137 RTCStatsMember<std::string> state; | 137 RTCStatsMember<std::string> state; |
| 138 RTCStatsMember<uint64_t> priority; | 138 RTCStatsMember<uint64_t> priority; |
| 139 RTCStatsMember<bool> nominated; | 139 RTCStatsMember<bool> nominated; |
| 140 // 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 |
| 141 // 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 |
| 142 RTCStatsMember<bool> writable; | 142 RTCStatsMember<bool> writable; |
| 143 // 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 |
| 144 RTCStatsMember<bool> readable; | 144 RTCStatsMember<bool> readable; |
| 145 RTCStatsMember<uint64_t> bytes_sent; | 145 RTCStatsMember<uint64_t> bytes_sent; |
| 146 RTCStatsMember<uint64_t> bytes_received; | 146 RTCStatsMember<uint64_t> bytes_received; |
| 147 // TODO(hbos): Collect and populate this value. https://bugs.webrtc.org/7062 | |
| 148 RTCStatsMember<double> total_round_trip_time; | 147 RTCStatsMember<double> total_round_trip_time; |
| 149 // TODO(hbos): Collect this the way the spec describes it. We have a value for | |
| 150 // it but it is not spec-compliant. https://bugs.webrtc.org/7062 | |
| 151 RTCStatsMember<double> current_round_trip_time; | 148 RTCStatsMember<double> current_round_trip_time; |
| 152 RTCStatsMember<double> available_outgoing_bitrate; | 149 RTCStatsMember<double> available_outgoing_bitrate; |
| 153 // TODO(hbos): Populate this value. It is wired up and collected the same way | 150 // TODO(hbos): Populate this value. It is wired up and collected the same way |
| 154 // |VideoBwe.googAvailableReceiveBandwidth| is, but that value is always | 151 // "VideoBwe.googAvailableReceiveBandwidth" is, but that value is always |
| 155 // undefined. https://bugs.webrtc.org/7062 | 152 // undefined. https://bugs.webrtc.org/7062 |
| 156 RTCStatsMember<double> available_incoming_bitrate; | 153 RTCStatsMember<double> available_incoming_bitrate; |
| 157 RTCStatsMember<uint64_t> requests_received; | 154 RTCStatsMember<uint64_t> requests_received; |
| 158 RTCStatsMember<uint64_t> requests_sent; | 155 RTCStatsMember<uint64_t> requests_sent; |
| 159 RTCStatsMember<uint64_t> responses_received; | 156 RTCStatsMember<uint64_t> responses_received; |
| 160 RTCStatsMember<uint64_t> responses_sent; | 157 RTCStatsMember<uint64_t> responses_sent; |
| 161 // TODO(hbos): Collect and populate this value. https://bugs.webrtc.org/7062 | 158 // TODO(hbos): Collect and populate this value. https://bugs.webrtc.org/7062 |
| 162 RTCStatsMember<uint64_t> retransmissions_received; | 159 RTCStatsMember<uint64_t> retransmissions_received; |
| 163 // TODO(hbos): Collect and populate this value. https://bugs.webrtc.org/7062 | 160 // TODO(hbos): Collect and populate this value. https://bugs.webrtc.org/7062 |
| 164 RTCStatsMember<uint64_t> retransmissions_sent; | 161 RTCStatsMember<uint64_t> retransmissions_sent; |
| (...skipping 242 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 407 // TODO(hbos): Support enum types? "RTCStatsMember<RTCDtlsTransportState>"? | 404 // TODO(hbos): Support enum types? "RTCStatsMember<RTCDtlsTransportState>"? |
| 408 RTCStatsMember<std::string> dtls_state; | 405 RTCStatsMember<std::string> dtls_state; |
| 409 RTCStatsMember<std::string> selected_candidate_pair_id; | 406 RTCStatsMember<std::string> selected_candidate_pair_id; |
| 410 RTCStatsMember<std::string> local_certificate_id; | 407 RTCStatsMember<std::string> local_certificate_id; |
| 411 RTCStatsMember<std::string> remote_certificate_id; | 408 RTCStatsMember<std::string> remote_certificate_id; |
| 412 }; | 409 }; |
| 413 | 410 |
| 414 } // namespace webrtc | 411 } // namespace webrtc |
| 415 | 412 |
| 416 #endif // WEBRTC_API_STATS_RTCSTATS_OBJECTS_H_ | 413 #endif // WEBRTC_API_STATS_RTCSTATS_OBJECTS_H_ |
| OLD | NEW |