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

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

Issue 2649133005: Add QP sum stats for received streams. (Closed)
Patch Set: Change to int32_t for decode_time_ms. 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 (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 2372 matching lines...) Expand 10 before | Expand all | Expand 10 after
2383 info.max_decode_ms = stats.max_decode_ms; 2383 info.max_decode_ms = stats.max_decode_ms;
2384 info.current_delay_ms = stats.current_delay_ms; 2384 info.current_delay_ms = stats.current_delay_ms;
2385 info.target_delay_ms = stats.target_delay_ms; 2385 info.target_delay_ms = stats.target_delay_ms;
2386 info.jitter_buffer_ms = stats.jitter_buffer_ms; 2386 info.jitter_buffer_ms = stats.jitter_buffer_ms;
2387 info.min_playout_delay_ms = stats.min_playout_delay_ms; 2387 info.min_playout_delay_ms = stats.min_playout_delay_ms;
2388 info.render_delay_ms = stats.render_delay_ms; 2388 info.render_delay_ms = stats.render_delay_ms;
2389 info.frames_received = stats.frame_counts.key_frames + 2389 info.frames_received = stats.frame_counts.key_frames +
2390 stats.frame_counts.delta_frames; 2390 stats.frame_counts.delta_frames;
2391 info.frames_decoded = stats.frames_decoded; 2391 info.frames_decoded = stats.frames_decoded;
2392 info.frames_rendered = stats.frames_rendered; 2392 info.frames_rendered = stats.frames_rendered;
2393 info.qp_sum = stats.qp_sum;
2393 2394
2394 info.codec_name = GetCodecNameFromPayloadType(stats.current_payload_type); 2395 info.codec_name = GetCodecNameFromPayloadType(stats.current_payload_type);
2395 2396
2396 info.firs_sent = stats.rtcp_packet_type_counts.fir_packets; 2397 info.firs_sent = stats.rtcp_packet_type_counts.fir_packets;
2397 info.plis_sent = stats.rtcp_packet_type_counts.pli_packets; 2398 info.plis_sent = stats.rtcp_packet_type_counts.pli_packets;
2398 info.nacks_sent = stats.rtcp_packet_type_counts.nack_packets; 2399 info.nacks_sent = stats.rtcp_packet_type_counts.nack_packets;
2399 2400
2400 if (log_stats) 2401 if (log_stats)
2401 LOG(LS_INFO) << stats.ToString(rtc::TimeMillis()); 2402 LOG(LS_INFO) << stats.ToString(rtc::TimeMillis());
2402 2403
(...skipping 113 matching lines...) Expand 10 before | Expand all | Expand 10 after
2516 rtx_mapping[video_codecs[i].codec.id] != 2517 rtx_mapping[video_codecs[i].codec.id] !=
2517 ulpfec_config.red_payload_type) { 2518 ulpfec_config.red_payload_type) {
2518 video_codecs[i].rtx_payload_type = rtx_mapping[video_codecs[i].codec.id]; 2519 video_codecs[i].rtx_payload_type = rtx_mapping[video_codecs[i].codec.id];
2519 } 2520 }
2520 } 2521 }
2521 2522
2522 return video_codecs; 2523 return video_codecs;
2523 } 2524 }
2524 2525
2525 } // namespace cricket 2526 } // namespace cricket
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698