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

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

Issue 2965033002: Report interframe delay sum in old GetStats (Closed)
Patch Set: Rebase Created 3 years, 5 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 | « webrtc/media/base/mediachannel.h ('k') | webrtc/pc/statscollector.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) 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 2459 matching lines...) Expand 10 before | Expand all | Expand 10 after
2470 info.target_delay_ms = stats.target_delay_ms; 2470 info.target_delay_ms = stats.target_delay_ms;
2471 info.jitter_buffer_ms = stats.jitter_buffer_ms; 2471 info.jitter_buffer_ms = stats.jitter_buffer_ms;
2472 info.min_playout_delay_ms = stats.min_playout_delay_ms; 2472 info.min_playout_delay_ms = stats.min_playout_delay_ms;
2473 info.render_delay_ms = stats.render_delay_ms; 2473 info.render_delay_ms = stats.render_delay_ms;
2474 info.frames_received = stats.frame_counts.key_frames + 2474 info.frames_received = stats.frame_counts.key_frames +
2475 stats.frame_counts.delta_frames; 2475 stats.frame_counts.delta_frames;
2476 info.frames_decoded = stats.frames_decoded; 2476 info.frames_decoded = stats.frames_decoded;
2477 info.frames_rendered = stats.frames_rendered; 2477 info.frames_rendered = stats.frames_rendered;
2478 info.qp_sum = stats.qp_sum; 2478 info.qp_sum = stats.qp_sum;
2479 2479
2480 info.interframe_delay_sum_ms = stats.interframe_delay_sum_ms;
2481
2480 info.codec_name = GetCodecNameFromPayloadType(stats.current_payload_type); 2482 info.codec_name = GetCodecNameFromPayloadType(stats.current_payload_type);
2481 2483
2482 info.firs_sent = stats.rtcp_packet_type_counts.fir_packets; 2484 info.firs_sent = stats.rtcp_packet_type_counts.fir_packets;
2483 info.plis_sent = stats.rtcp_packet_type_counts.pli_packets; 2485 info.plis_sent = stats.rtcp_packet_type_counts.pli_packets;
2484 info.nacks_sent = stats.rtcp_packet_type_counts.nack_packets; 2486 info.nacks_sent = stats.rtcp_packet_type_counts.nack_packets;
2485 2487
2486 info.timing_frame_info = stream_->GetAndResetTimingFrameInfo(); 2488 info.timing_frame_info = stream_->GetAndResetTimingFrameInfo();
2487 2489
2488 if (log_stats) 2490 if (log_stats)
2489 LOG(LS_INFO) << stats.ToString(rtc::TimeMillis()); 2491 LOG(LS_INFO) << stats.ToString(rtc::TimeMillis());
(...skipping 172 matching lines...) Expand 10 before | Expand all | Expand 10 after
2662 stream.temporal_layer_thresholds_bps.resize(GetDefaultVp9TemporalLayers() - 2664 stream.temporal_layer_thresholds_bps.resize(GetDefaultVp9TemporalLayers() -
2663 1); 2665 1);
2664 } 2666 }
2665 2667
2666 std::vector<webrtc::VideoStream> streams; 2668 std::vector<webrtc::VideoStream> streams;
2667 streams.push_back(stream); 2669 streams.push_back(stream);
2668 return streams; 2670 return streams;
2669 } 2671 }
2670 2672
2671 } // namespace cricket 2673 } // namespace cricket
OLDNEW
« no previous file with comments | « webrtc/media/base/mediachannel.h ('k') | webrtc/pc/statscollector.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698