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 294 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
305 ~RTCRTPStreamStats() override; | 305 ~RTCRTPStreamStats() override; |
306 | 306 |
307 RTCStatsMember<std::string> ssrc; | 307 RTCStatsMember<std::string> ssrc; |
308 // TODO(hbos): When the remote case is supported |RTCStatsCollector| needs to | 308 // TODO(hbos): When the remote case is supported |RTCStatsCollector| needs to |
309 // set this. crbug.com/657855, 657856 | 309 // set this. crbug.com/657855, 657856 |
310 RTCStatsMember<std::string> associate_stats_id; | 310 RTCStatsMember<std::string> associate_stats_id; |
311 // TODO(hbos): Remote case not supported by |RTCStatsCollector|. | 311 // TODO(hbos): Remote case not supported by |RTCStatsCollector|. |
312 // crbug.com/657855, 657856 | 312 // crbug.com/657855, 657856 |
313 RTCStatsMember<bool> is_remote; // = false | 313 RTCStatsMember<bool> is_remote; // = false |
314 RTCStatsMember<std::string> media_type; | 314 RTCStatsMember<std::string> media_type; |
315 RTCStatsMember<std::string> media_track_id; | 315 RTCStatsMember<std::string> track_id; |
316 RTCStatsMember<std::string> transport_id; | 316 RTCStatsMember<std::string> transport_id; |
317 RTCStatsMember<std::string> codec_id; | 317 RTCStatsMember<std::string> codec_id; |
318 // FIR and PLI counts are only defined for |media_type == "video"|. | 318 // FIR and PLI counts are only defined for |media_type == "video"|. |
319 RTCStatsMember<uint32_t> fir_count; | 319 RTCStatsMember<uint32_t> fir_count; |
320 RTCStatsMember<uint32_t> pli_count; | 320 RTCStatsMember<uint32_t> pli_count; |
321 // TODO(hbos): NACK count should be collected by |RTCStatsCollector| for both | 321 // TODO(hbos): NACK count should be collected by |RTCStatsCollector| for both |
322 // audio and video but is only defined in the "video" case. crbug.com/657856 | 322 // audio and video but is only defined in the "video" case. crbug.com/657856 |
323 RTCStatsMember<uint32_t> nack_count; | 323 RTCStatsMember<uint32_t> nack_count; |
324 // TODO(hbos): Not collected by |RTCStatsCollector|. crbug.com/657854 | 324 // TODO(hbos): Not collected by |RTCStatsCollector|. crbug.com/657854 |
325 // SLI count is only defined for |media_type == "video"|. | 325 // SLI count is only defined for |media_type == "video"|. |
(...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
411 // TODO(hbos): Support enum types? "RTCStatsMember<RTCDtlsTransportState>"? | 411 // TODO(hbos): Support enum types? "RTCStatsMember<RTCDtlsTransportState>"? |
412 RTCStatsMember<std::string> dtls_state; | 412 RTCStatsMember<std::string> dtls_state; |
413 RTCStatsMember<std::string> selected_candidate_pair_id; | 413 RTCStatsMember<std::string> selected_candidate_pair_id; |
414 RTCStatsMember<std::string> local_certificate_id; | 414 RTCStatsMember<std::string> local_certificate_id; |
415 RTCStatsMember<std::string> remote_certificate_id; | 415 RTCStatsMember<std::string> remote_certificate_id; |
416 }; | 416 }; |
417 | 417 |
418 } // namespace webrtc | 418 } // namespace webrtc |
419 | 419 |
420 #endif // WEBRTC_API_STATS_RTCSTATS_OBJECTS_H_ | 420 #endif // WEBRTC_API_STATS_RTCSTATS_OBJECTS_H_ |
OLD | NEW |