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