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

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

Issue 2607913002: RTCMediaStreamTrackStats.framesReceived collected by RTCStatsCollector. (Closed)
Patch Set: Rebase with master Created 3 years, 11 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/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 2365 matching lines...) Expand 10 before | Expand all | Expand 10 after
2376 info.capture_start_ntp_time_ms = estimated_remote_start_ntp_time_ms_; 2376 info.capture_start_ntp_time_ms = estimated_remote_start_ntp_time_ms_;
2377 } 2377 }
2378 2378
2379 info.decode_ms = stats.decode_ms; 2379 info.decode_ms = stats.decode_ms;
2380 info.max_decode_ms = stats.max_decode_ms; 2380 info.max_decode_ms = stats.max_decode_ms;
2381 info.current_delay_ms = stats.current_delay_ms; 2381 info.current_delay_ms = stats.current_delay_ms;
2382 info.target_delay_ms = stats.target_delay_ms; 2382 info.target_delay_ms = stats.target_delay_ms;
2383 info.jitter_buffer_ms = stats.jitter_buffer_ms; 2383 info.jitter_buffer_ms = stats.jitter_buffer_ms;
2384 info.min_playout_delay_ms = stats.min_playout_delay_ms; 2384 info.min_playout_delay_ms = stats.min_playout_delay_ms;
2385 info.render_delay_ms = stats.render_delay_ms; 2385 info.render_delay_ms = stats.render_delay_ms;
2386 info.frames_received = stats.frame_counts.key_frames +
2387 stats.frame_counts.delta_frames;
2386 info.frames_decoded = stats.frames_decoded; 2388 info.frames_decoded = stats.frames_decoded;
2387 2389
2388 info.codec_name = GetCodecNameFromPayloadType(stats.current_payload_type); 2390 info.codec_name = GetCodecNameFromPayloadType(stats.current_payload_type);
2389 2391
2390 info.firs_sent = stats.rtcp_packet_type_counts.fir_packets; 2392 info.firs_sent = stats.rtcp_packet_type_counts.fir_packets;
2391 info.plis_sent = stats.rtcp_packet_type_counts.pli_packets; 2393 info.plis_sent = stats.rtcp_packet_type_counts.pli_packets;
2392 info.nacks_sent = stats.rtcp_packet_type_counts.nack_packets; 2394 info.nacks_sent = stats.rtcp_packet_type_counts.nack_packets;
2393 2395
2394 if (log_stats) 2396 if (log_stats)
2395 LOG(LS_INFO) << stats.ToString(rtc::TimeMillis()); 2397 LOG(LS_INFO) << stats.ToString(rtc::TimeMillis());
(...skipping 114 matching lines...) Expand 10 before | Expand all | Expand 10 after
2510 rtx_mapping[video_codecs[i].codec.id] != 2512 rtx_mapping[video_codecs[i].codec.id] !=
2511 ulpfec_config.red_payload_type) { 2513 ulpfec_config.red_payload_type) {
2512 video_codecs[i].rtx_payload_type = rtx_mapping[video_codecs[i].codec.id]; 2514 video_codecs[i].rtx_payload_type = rtx_mapping[video_codecs[i].codec.id];
2513 } 2515 }
2514 } 2516 }
2515 2517
2516 return video_codecs; 2518 return video_codecs;
2517 } 2519 }
2518 2520
2519 } // namespace cricket 2521 } // 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