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 221 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
232 RTCMediaStreamTrackStats(std::string&& id, int64_t timestamp_us); | 232 RTCMediaStreamTrackStats(std::string&& id, int64_t timestamp_us); |
233 RTCMediaStreamTrackStats(const RTCMediaStreamTrackStats& other); | 233 RTCMediaStreamTrackStats(const RTCMediaStreamTrackStats& other); |
234 ~RTCMediaStreamTrackStats() override; | 234 ~RTCMediaStreamTrackStats() override; |
235 | 235 |
236 RTCStatsMember<std::string> track_identifier; | 236 RTCStatsMember<std::string> track_identifier; |
237 RTCStatsMember<bool> remote_source; | 237 RTCStatsMember<bool> remote_source; |
238 RTCStatsMember<bool> ended; | 238 RTCStatsMember<bool> ended; |
239 // TODO(hbos): |RTCStatsCollector| does not return stats for detached tracks. | 239 // TODO(hbos): |RTCStatsCollector| does not return stats for detached tracks. |
240 // crbug.com/659137 | 240 // crbug.com/659137 |
241 RTCStatsMember<bool> detached; | 241 RTCStatsMember<bool> detached; |
242 // TODO(hbos): Not collected by |RTCStatsCollector|. crbug.com/659137 | |
243 RTCStatsMember<std::vector<std::string>> ssrc_ids; | |
244 // Video-only members | 242 // Video-only members |
245 RTCStatsMember<uint32_t> frame_width; | 243 RTCStatsMember<uint32_t> frame_width; |
246 RTCStatsMember<uint32_t> frame_height; | 244 RTCStatsMember<uint32_t> frame_height; |
247 // TODO(hbos): Not collected by |RTCStatsCollector|. crbug.com/659137 | 245 // TODO(hbos): Not collected by |RTCStatsCollector|. crbug.com/659137 |
248 RTCStatsMember<double> frames_per_second; | 246 RTCStatsMember<double> frames_per_second; |
249 // TODO(hbos): Not collected by |RTCStatsCollector|. crbug.com/659137 | 247 // TODO(hbos): Not collected by |RTCStatsCollector|. crbug.com/659137 |
250 RTCStatsMember<uint32_t> frames_sent; | 248 RTCStatsMember<uint32_t> frames_sent; |
251 // TODO(hbos): Not collected by |RTCStatsCollector|. crbug.com/659137 | 249 // TODO(hbos): Not collected by |RTCStatsCollector|. crbug.com/659137 |
252 RTCStatsMember<uint32_t> frames_received; | 250 RTCStatsMember<uint32_t> frames_received; |
253 // TODO(hbos): Not collected by |RTCStatsCollector|. crbug.com/659137 | 251 // TODO(hbos): Not collected by |RTCStatsCollector|. crbug.com/659137 |
(...skipping 142 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
396 RTCStatsMember<std::string> rtcp_transport_stats_id; | 394 RTCStatsMember<std::string> rtcp_transport_stats_id; |
397 RTCStatsMember<bool> active_connection; | 395 RTCStatsMember<bool> active_connection; |
398 RTCStatsMember<std::string> selected_candidate_pair_id; | 396 RTCStatsMember<std::string> selected_candidate_pair_id; |
399 RTCStatsMember<std::string> local_certificate_id; | 397 RTCStatsMember<std::string> local_certificate_id; |
400 RTCStatsMember<std::string> remote_certificate_id; | 398 RTCStatsMember<std::string> remote_certificate_id; |
401 }; | 399 }; |
402 | 400 |
403 } // namespace webrtc | 401 } // namespace webrtc |
404 | 402 |
405 #endif // WEBRTC_API_STATS_RTCSTATS_OBJECTS_H_ | 403 #endif // WEBRTC_API_STATS_RTCSTATS_OBJECTS_H_ |
OLD | NEW |