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

Side by Side Diff: video/receive_statistics_proxy.cc

Issue 3019453002: Delete member VideoReceiveStream::Config::Rtp::ulpfec. (Closed)
Patch Set: Added DCHECK. Created 3 years, 3 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
« no previous file with comments | « video/end_to_end_tests.cc ('k') | video/replay.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (c) 2013 The WebRTC project authors. All Rights Reserved. 2 * Copyright (c) 2013 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 348 matching lines...) Expand 10 before | Expand all | Expand 10 after
359 1000)); 359 1000));
360 RTC_HISTOGRAM_COUNTS_10000( 360 RTC_HISTOGRAM_COUNTS_10000(
361 "WebRTC.Video.RetransmittedBitrateReceivedInKbps", 361 "WebRTC.Video.RetransmittedBitrateReceivedInKbps",
362 static_cast<int>(rtp_rtx.retransmitted.TotalBytes() * 8 / elapsed_sec / 362 static_cast<int>(rtp_rtx.retransmitted.TotalBytes() * 8 / elapsed_sec /
363 1000)); 363 1000));
364 if (!rtx_stats_.empty()) { 364 if (!rtx_stats_.empty()) {
365 RTC_HISTOGRAM_COUNTS_10000("WebRTC.Video.RtxBitrateReceivedInKbps", 365 RTC_HISTOGRAM_COUNTS_10000("WebRTC.Video.RtxBitrateReceivedInKbps",
366 static_cast<int>(rtx.transmitted.TotalBytes() * 366 static_cast<int>(rtx.transmitted.TotalBytes() *
367 8 / elapsed_sec / 1000)); 367 8 / elapsed_sec / 1000));
368 } 368 }
369 if (config_.rtp.ulpfec.ulpfec_payload_type != -1) { 369 if (config_.rtp.ulpfec_payload_type != -1) {
370 RTC_HISTOGRAM_COUNTS_10000( 370 RTC_HISTOGRAM_COUNTS_10000(
371 "WebRTC.Video.FecBitrateReceivedInKbps", 371 "WebRTC.Video.FecBitrateReceivedInKbps",
372 static_cast<int>(rtp_rtx.fec.TotalBytes() * 8 / elapsed_sec / 1000)); 372 static_cast<int>(rtp_rtx.fec.TotalBytes() * 8 / elapsed_sec / 1000));
373 } 373 }
374 const RtcpPacketTypeCounter& counters = stats_.rtcp_packet_type_counts; 374 const RtcpPacketTypeCounter& counters = stats_.rtcp_packet_type_counts;
375 RTC_HISTOGRAM_COUNTS_10000("WebRTC.Video.NackPacketsSentPerMinute", 375 RTC_HISTOGRAM_COUNTS_10000("WebRTC.Video.NackPacketsSentPerMinute",
376 counters.nack_packets * 60 / elapsed_sec); 376 counters.nack_packets * 60 / elapsed_sec);
377 RTC_HISTOGRAM_COUNTS_10000("WebRTC.Video.FirPacketsSentPerMinute", 377 RTC_HISTOGRAM_COUNTS_10000("WebRTC.Video.FirPacketsSentPerMinute",
378 counters.fir_packets * 60 / elapsed_sec); 378 counters.fir_packets * 60 / elapsed_sec);
379 RTC_HISTOGRAM_COUNTS_10000("WebRTC.Video.PliPacketsSentPerMinute", 379 RTC_HISTOGRAM_COUNTS_10000("WebRTC.Video.PliPacketsSentPerMinute",
(...skipping 415 matching lines...) Expand 10 before | Expand all | Expand 10 after
795 flow_duration_ms += other.flow_duration_ms; 795 flow_duration_ms += other.flow_duration_ms;
796 total_media_bytes += other.total_media_bytes; 796 total_media_bytes += other.total_media_bytes;
797 received_height.Add(other.received_height); 797 received_height.Add(other.received_height);
798 received_width.Add(other.received_width); 798 received_width.Add(other.received_width);
799 qp_counter.Add(other.qp_counter); 799 qp_counter.Add(other.qp_counter);
800 frame_counts.key_frames += other.frame_counts.key_frames; 800 frame_counts.key_frames += other.frame_counts.key_frames;
801 frame_counts.delta_frames += other.frame_counts.delta_frames; 801 frame_counts.delta_frames += other.frame_counts.delta_frames;
802 } 802 }
803 803
804 } // namespace webrtc 804 } // namespace webrtc
OLDNEW
« no previous file with comments | « video/end_to_end_tests.cc ('k') | video/replay.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698