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

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

Issue 2423823003: Implement framesDecoded stat in video receive ssrc stats. (Closed)
Patch Set: Add #include <memory> to receive_statistics_proxy_unittest.cc. Created 4 years, 1 month 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/media/engine/webrtcvideoengine2_unittest.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 2544 matching lines...) Expand 10 before | Expand all | Expand 10 after
2555 info.capture_start_ntp_time_ms = estimated_remote_start_ntp_time_ms_; 2555 info.capture_start_ntp_time_ms = estimated_remote_start_ntp_time_ms_;
2556 } 2556 }
2557 2557
2558 info.decode_ms = stats.decode_ms; 2558 info.decode_ms = stats.decode_ms;
2559 info.max_decode_ms = stats.max_decode_ms; 2559 info.max_decode_ms = stats.max_decode_ms;
2560 info.current_delay_ms = stats.current_delay_ms; 2560 info.current_delay_ms = stats.current_delay_ms;
2561 info.target_delay_ms = stats.target_delay_ms; 2561 info.target_delay_ms = stats.target_delay_ms;
2562 info.jitter_buffer_ms = stats.jitter_buffer_ms; 2562 info.jitter_buffer_ms = stats.jitter_buffer_ms;
2563 info.min_playout_delay_ms = stats.min_playout_delay_ms; 2563 info.min_playout_delay_ms = stats.min_playout_delay_ms;
2564 info.render_delay_ms = stats.render_delay_ms; 2564 info.render_delay_ms = stats.render_delay_ms;
2565 info.frames_decoded = stats.frames_decoded;
2565 2566
2566 info.codec_name = GetCodecNameFromPayloadType(stats.current_payload_type); 2567 info.codec_name = GetCodecNameFromPayloadType(stats.current_payload_type);
2567 2568
2568 info.firs_sent = stats.rtcp_packet_type_counts.fir_packets; 2569 info.firs_sent = stats.rtcp_packet_type_counts.fir_packets;
2569 info.plis_sent = stats.rtcp_packet_type_counts.pli_packets; 2570 info.plis_sent = stats.rtcp_packet_type_counts.pli_packets;
2570 info.nacks_sent = stats.rtcp_packet_type_counts.nack_packets; 2571 info.nacks_sent = stats.rtcp_packet_type_counts.nack_packets;
2571 2572
2572 if (log_stats) 2573 if (log_stats)
2573 LOG(LS_INFO) << stats.ToString(rtc::TimeMillis()); 2574 LOG(LS_INFO) << stats.ToString(rtc::TimeMillis());
2574 2575
(...skipping 112 matching lines...) Expand 10 before | Expand all | Expand 10 after
2687 rtx_mapping[video_codecs[i].codec.id] != 2688 rtx_mapping[video_codecs[i].codec.id] !=
2688 ulpfec_config.red_payload_type) { 2689 ulpfec_config.red_payload_type) {
2689 video_codecs[i].rtx_payload_type = rtx_mapping[video_codecs[i].codec.id]; 2690 video_codecs[i].rtx_payload_type = rtx_mapping[video_codecs[i].codec.id];
2690 } 2691 }
2691 } 2692 }
2692 2693
2693 return video_codecs; 2694 return video_codecs;
2694 } 2695 }
2695 2696
2696 } // namespace cricket 2697 } // namespace cricket
OLDNEW
« no previous file with comments | « webrtc/media/base/mediachannel.h ('k') | webrtc/media/engine/webrtcvideoengine2_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698