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 130 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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 RTCStatsMember<double> total_round_trip_time; | 147 RTCStatsMember<double> total_round_trip_time; |
148 RTCStatsMember<double> current_round_trip_time; | 148 RTCStatsMember<double> current_round_trip_time; |
149 RTCStatsMember<double> available_outgoing_bitrate; | 149 RTCStatsMember<double> available_outgoing_bitrate; |
150 // 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 |
151 // "VideoBwe.googAvailableReceiveBandwidth" is, but that value is always | 151 // "VideoBwe.googAvailableReceiveBandwidth" is, but the value rarely gets |
152 // undefined. https://bugs.webrtc.org/7062 | 152 // defined. https://bugs.webrtc.org/7062 |
153 RTCStatsMember<double> available_incoming_bitrate; | 153 RTCStatsMember<double> available_incoming_bitrate; |
154 RTCStatsMember<uint64_t> requests_received; | 154 RTCStatsMember<uint64_t> requests_received; |
155 RTCStatsMember<uint64_t> requests_sent; | 155 RTCStatsMember<uint64_t> requests_sent; |
156 RTCStatsMember<uint64_t> responses_received; | 156 RTCStatsMember<uint64_t> responses_received; |
157 RTCStatsMember<uint64_t> responses_sent; | 157 RTCStatsMember<uint64_t> responses_sent; |
158 // 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 |
159 RTCStatsMember<uint64_t> retransmissions_received; | 159 RTCStatsMember<uint64_t> retransmissions_received; |
160 // 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 |
161 RTCStatsMember<uint64_t> retransmissions_sent; | 161 RTCStatsMember<uint64_t> retransmissions_sent; |
162 // TODO(hbos): Collect and populate this value. https://bugs.webrtc.org/7062 | 162 // TODO(hbos): Collect and populate this value. https://bugs.webrtc.org/7062 |
(...skipping 242 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
405 // TODO(hbos): Support enum types? "RTCStatsMember<RTCDtlsTransportState>"? | 405 // TODO(hbos): Support enum types? "RTCStatsMember<RTCDtlsTransportState>"? |
406 RTCStatsMember<std::string> dtls_state; | 406 RTCStatsMember<std::string> dtls_state; |
407 RTCStatsMember<std::string> selected_candidate_pair_id; | 407 RTCStatsMember<std::string> selected_candidate_pair_id; |
408 RTCStatsMember<std::string> local_certificate_id; | 408 RTCStatsMember<std::string> local_certificate_id; |
409 RTCStatsMember<std::string> remote_certificate_id; | 409 RTCStatsMember<std::string> remote_certificate_id; |
410 }; | 410 }; |
411 | 411 |
412 } // namespace webrtc | 412 } // namespace webrtc |
413 | 413 |
414 #endif // WEBRTC_API_STATS_RTCSTATS_OBJECTS_H_ | 414 #endif // WEBRTC_API_STATS_RTCSTATS_OBJECTS_H_ |
OLD | NEW |