Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(51)

Side by Side Diff: webrtc/api/stats/rtcstats_objects.h

Issue 2675943002: RTCInboundRTPStreamStats.qpSum collected. (Closed)
Patch Set: Created 3 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 307 matching lines...) Expand 10 before | Expand all | Expand 10 after
318 RTCStatsMember<std::string> codec_id; 318 RTCStatsMember<std::string> codec_id;
319 // FIR and PLI counts are only defined for |media_type == "video"|. 319 // FIR and PLI counts are only defined for |media_type == "video"|.
320 RTCStatsMember<uint32_t> fir_count; 320 RTCStatsMember<uint32_t> fir_count;
321 RTCStatsMember<uint32_t> pli_count; 321 RTCStatsMember<uint32_t> pli_count;
322 // TODO(hbos): NACK count should be collected by |RTCStatsCollector| for both 322 // TODO(hbos): NACK count should be collected by |RTCStatsCollector| for both
323 // audio and video but is only defined in the "video" case. crbug.com/657856 323 // audio and video but is only defined in the "video" case. crbug.com/657856
324 RTCStatsMember<uint32_t> nack_count; 324 RTCStatsMember<uint32_t> nack_count;
325 // TODO(hbos): Not collected by |RTCStatsCollector|. crbug.com/657854 325 // TODO(hbos): Not collected by |RTCStatsCollector|. crbug.com/657854
326 // SLI count is only defined for |media_type == "video"|. 326 // SLI count is only defined for |media_type == "video"|.
327 RTCStatsMember<uint32_t> sli_count; 327 RTCStatsMember<uint32_t> sli_count;
328 // TODO(hbos): Only collected for the outbound case, should also be collected
329 // for inbound case by |RTCStatsCollector|. crbug.com/657854, crbug.com/657855
330 RTCStatsMember<uint64_t> qp_sum; 328 RTCStatsMember<uint64_t> qp_sum;
331 329
332 protected: 330 protected:
333 RTCRTPStreamStats(const std::string& id, int64_t timestamp_us); 331 RTCRTPStreamStats(const std::string& id, int64_t timestamp_us);
334 RTCRTPStreamStats(std::string&& id, int64_t timestamp_us); 332 RTCRTPStreamStats(std::string&& id, int64_t timestamp_us);
335 }; 333 };
336 334
337 // https://w3c.github.io/webrtc-stats/#inboundrtpstats-dict* 335 // https://w3c.github.io/webrtc-stats/#inboundrtpstats-dict*
338 // Tracking bug crbug.com/657855 336 // Tracking bug crbug.com/657855
339 // TODO(hbos): Support the remote case |is_remote = true|. crbug.com/657855 337 // TODO(hbos): Support the remote case |is_remote = true|. crbug.com/657855
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after
412 // TODO(hbos): Support enum types? "RTCStatsMember<RTCDtlsTransportState>"? 410 // TODO(hbos): Support enum types? "RTCStatsMember<RTCDtlsTransportState>"?
413 RTCStatsMember<std::string> dtls_state; 411 RTCStatsMember<std::string> dtls_state;
414 RTCStatsMember<std::string> selected_candidate_pair_id; 412 RTCStatsMember<std::string> selected_candidate_pair_id;
415 RTCStatsMember<std::string> local_certificate_id; 413 RTCStatsMember<std::string> local_certificate_id;
416 RTCStatsMember<std::string> remote_certificate_id; 414 RTCStatsMember<std::string> remote_certificate_id;
417 }; 415 };
418 416
419 } // namespace webrtc 417 } // namespace webrtc
420 418
421 #endif // WEBRTC_API_STATS_RTCSTATS_OBJECTS_H_ 419 #endif // WEBRTC_API_STATS_RTCSTATS_OBJECTS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698