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 284 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
295 | 295 |
296 // https://w3c.github.io/webrtc-stats/#streamstats-dict* | 296 // https://w3c.github.io/webrtc-stats/#streamstats-dict* |
297 // TODO(hbos): Tracking bug crbug.com/657854 | 297 // TODO(hbos): Tracking bug crbug.com/657854 |
298 class RTCRTPStreamStats : public RTCStats { | 298 class RTCRTPStreamStats : public RTCStats { |
299 public: | 299 public: |
300 WEBRTC_RTCSTATS_DECL(); | 300 WEBRTC_RTCSTATS_DECL(); |
301 | 301 |
302 RTCRTPStreamStats(const RTCRTPStreamStats& other); | 302 RTCRTPStreamStats(const RTCRTPStreamStats& other); |
303 ~RTCRTPStreamStats() override; | 303 ~RTCRTPStreamStats() override; |
304 | 304 |
305 RTCStatsMember<std::string> ssrc; | 305 RTCStatsMember<uint32_t> ssrc; |
306 // TODO(hbos): When the remote case is supported |RTCStatsCollector| needs to | 306 // TODO(hbos): When the remote case is supported |RTCStatsCollector| needs to |
307 // set this. crbug.com/657855, 657856 | 307 // set this. crbug.com/657855, 657856 |
308 RTCStatsMember<std::string> associate_stats_id; | 308 RTCStatsMember<std::string> associate_stats_id; |
309 // TODO(hbos): Remote case not supported by |RTCStatsCollector|. | 309 // TODO(hbos): Remote case not supported by |RTCStatsCollector|. |
310 // crbug.com/657855, 657856 | 310 // crbug.com/657855, 657856 |
311 RTCStatsMember<bool> is_remote; // = false | 311 RTCStatsMember<bool> is_remote; // = false |
312 RTCStatsMember<std::string> media_type; | 312 RTCStatsMember<std::string> media_type; |
313 RTCStatsMember<std::string> track_id; | 313 RTCStatsMember<std::string> track_id; |
314 RTCStatsMember<std::string> transport_id; | 314 RTCStatsMember<std::string> transport_id; |
315 RTCStatsMember<std::string> codec_id; | 315 RTCStatsMember<std::string> codec_id; |
(...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
409 // TODO(hbos): Support enum types? "RTCStatsMember<RTCDtlsTransportState>"? | 409 // TODO(hbos): Support enum types? "RTCStatsMember<RTCDtlsTransportState>"? |
410 RTCStatsMember<std::string> dtls_state; | 410 RTCStatsMember<std::string> dtls_state; |
411 RTCStatsMember<std::string> selected_candidate_pair_id; | 411 RTCStatsMember<std::string> selected_candidate_pair_id; |
412 RTCStatsMember<std::string> local_certificate_id; | 412 RTCStatsMember<std::string> local_certificate_id; |
413 RTCStatsMember<std::string> remote_certificate_id; | 413 RTCStatsMember<std::string> remote_certificate_id; |
414 }; | 414 }; |
415 | 415 |
416 } // namespace webrtc | 416 } // namespace webrtc |
417 | 417 |
418 #endif // WEBRTC_API_STATS_RTCSTATS_OBJECTS_H_ | 418 #endif // WEBRTC_API_STATS_RTCSTATS_OBJECTS_H_ |
OLD | NEW |