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

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

Issue 2423823003: Implement framesDecoded stat in video receive ssrc stats. (Closed)
Patch Set: More unittests. Created 4 years, 2 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 2554 matching lines...) Expand 10 before | Expand all | Expand 10 after
2565 info.capture_start_ntp_time_ms = estimated_remote_start_ntp_time_ms_; 2565 info.capture_start_ntp_time_ms = estimated_remote_start_ntp_time_ms_;
2566 } 2566 }
2567 2567
2568 info.decode_ms = stats.decode_ms; 2568 info.decode_ms = stats.decode_ms;
2569 info.max_decode_ms = stats.max_decode_ms; 2569 info.max_decode_ms = stats.max_decode_ms;
2570 info.current_delay_ms = stats.current_delay_ms; 2570 info.current_delay_ms = stats.current_delay_ms;
2571 info.target_delay_ms = stats.target_delay_ms; 2571 info.target_delay_ms = stats.target_delay_ms;
2572 info.jitter_buffer_ms = stats.jitter_buffer_ms; 2572 info.jitter_buffer_ms = stats.jitter_buffer_ms;
2573 info.min_playout_delay_ms = stats.min_playout_delay_ms; 2573 info.min_playout_delay_ms = stats.min_playout_delay_ms;
2574 info.render_delay_ms = stats.render_delay_ms; 2574 info.render_delay_ms = stats.render_delay_ms;
2575 info.frames_decoded = stats.frames_decoded;
2575 2576
2576 info.codec_name = GetCodecNameFromPayloadType(stats.current_payload_type); 2577 info.codec_name = GetCodecNameFromPayloadType(stats.current_payload_type);
2577 2578
2578 info.firs_sent = stats.rtcp_packet_type_counts.fir_packets; 2579 info.firs_sent = stats.rtcp_packet_type_counts.fir_packets;
2579 info.plis_sent = stats.rtcp_packet_type_counts.pli_packets; 2580 info.plis_sent = stats.rtcp_packet_type_counts.pli_packets;
2580 info.nacks_sent = stats.rtcp_packet_type_counts.nack_packets; 2581 info.nacks_sent = stats.rtcp_packet_type_counts.nack_packets;
2581 2582
2582 if (log_stats) 2583 if (log_stats)
2583 LOG(LS_INFO) << stats.ToString(rtc::TimeMillis()); 2584 LOG(LS_INFO) << stats.ToString(rtc::TimeMillis());
2584 2585
(...skipping 112 matching lines...) Expand 10 before | Expand all | Expand 10 after
2697 rtx_mapping[video_codecs[i].codec.id] != 2698 rtx_mapping[video_codecs[i].codec.id] !=
2698 ulpfec_config.red_payload_type) { 2699 ulpfec_config.red_payload_type) {
2699 video_codecs[i].rtx_payload_type = rtx_mapping[video_codecs[i].codec.id]; 2700 video_codecs[i].rtx_payload_type = rtx_mapping[video_codecs[i].codec.id];
2700 } 2701 }
2701 } 2702 }
2702 2703
2703 return video_codecs; 2704 return video_codecs;
2704 } 2705 }
2705 2706
2706 } // namespace cricket 2707 } // namespace cricket
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698