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

Side by Side Diff: webrtc/media/engine/webrtcvideoengine.cc

Issue 2995143002: Report max interframe delay over window insdead of interframe delay sum (Closed)
Patch Set: Implemented Sprang@ comments Created 3 years, 4 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 (c) 2014 The WebRTC project authors. All Rights Reserved. 2 * Copyright (c) 2014 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 2445 matching lines...) Expand 10 before | Expand all | Expand 10 after
2456 info.target_delay_ms = stats.target_delay_ms; 2456 info.target_delay_ms = stats.target_delay_ms;
2457 info.jitter_buffer_ms = stats.jitter_buffer_ms; 2457 info.jitter_buffer_ms = stats.jitter_buffer_ms;
2458 info.min_playout_delay_ms = stats.min_playout_delay_ms; 2458 info.min_playout_delay_ms = stats.min_playout_delay_ms;
2459 info.render_delay_ms = stats.render_delay_ms; 2459 info.render_delay_ms = stats.render_delay_ms;
2460 info.frames_received = stats.frame_counts.key_frames + 2460 info.frames_received = stats.frame_counts.key_frames +
2461 stats.frame_counts.delta_frames; 2461 stats.frame_counts.delta_frames;
2462 info.frames_decoded = stats.frames_decoded; 2462 info.frames_decoded = stats.frames_decoded;
2463 info.frames_rendered = stats.frames_rendered; 2463 info.frames_rendered = stats.frames_rendered;
2464 info.qp_sum = stats.qp_sum; 2464 info.qp_sum = stats.qp_sum;
2465 2465
2466 info.interframe_delay_sum_ms = stats.interframe_delay_sum_ms; 2466 info.interframe_delay_max_ms = stats.interframe_delay_max_ms;
2467 2467
2468 info.codec_name = GetCodecNameFromPayloadType(stats.current_payload_type); 2468 info.codec_name = GetCodecNameFromPayloadType(stats.current_payload_type);
2469 2469
2470 info.firs_sent = stats.rtcp_packet_type_counts.fir_packets; 2470 info.firs_sent = stats.rtcp_packet_type_counts.fir_packets;
2471 info.plis_sent = stats.rtcp_packet_type_counts.pli_packets; 2471 info.plis_sent = stats.rtcp_packet_type_counts.pli_packets;
2472 info.nacks_sent = stats.rtcp_packet_type_counts.nack_packets; 2472 info.nacks_sent = stats.rtcp_packet_type_counts.nack_packets;
2473 2473
2474 info.timing_frame_info = stream_->GetAndResetTimingFrameInfo(); 2474 info.timing_frame_info = stream_->GetAndResetTimingFrameInfo();
2475 2475
2476 if (log_stats) 2476 if (log_stats)
(...skipping 173 matching lines...) Expand 10 before | Expand all | Expand 10 after
2650 stream.temporal_layer_thresholds_bps.resize(GetDefaultVp9TemporalLayers() - 2650 stream.temporal_layer_thresholds_bps.resize(GetDefaultVp9TemporalLayers() -
2651 1); 2651 1);
2652 } 2652 }
2653 2653
2654 std::vector<webrtc::VideoStream> streams; 2654 std::vector<webrtc::VideoStream> streams;
2655 streams.push_back(stream); 2655 streams.push_back(stream);
2656 return streams; 2656 return streams;
2657 } 2657 }
2658 2658
2659 } // namespace cricket 2659 } // namespace cricket
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698