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

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

Issue 2607933002: RTCMediaStreamTrackStats.framesDropped collected by RTCStatsCollector. (Closed)
Patch Set: Rebase with master after webrtc/api renamed to webrtc/pc 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 2368 matching lines...) Expand 10 before | Expand all | Expand 10 after
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 + 2386 info.frames_received = stats.frame_counts.key_frames +
2387 stats.frame_counts.delta_frames; 2387 stats.frame_counts.delta_frames;
2388 info.frames_decoded = stats.frames_decoded; 2388 info.frames_decoded = stats.frames_decoded;
2389 info.frames_rendered = stats.frames_rendered;
2389 2390
2390 info.codec_name = GetCodecNameFromPayloadType(stats.current_payload_type); 2391 info.codec_name = GetCodecNameFromPayloadType(stats.current_payload_type);
2391 2392
2392 info.firs_sent = stats.rtcp_packet_type_counts.fir_packets; 2393 info.firs_sent = stats.rtcp_packet_type_counts.fir_packets;
2393 info.plis_sent = stats.rtcp_packet_type_counts.pli_packets; 2394 info.plis_sent = stats.rtcp_packet_type_counts.pli_packets;
2394 info.nacks_sent = stats.rtcp_packet_type_counts.nack_packets; 2395 info.nacks_sent = stats.rtcp_packet_type_counts.nack_packets;
2395 2396
2396 if (log_stats) 2397 if (log_stats)
2397 LOG(LS_INFO) << stats.ToString(rtc::TimeMillis()); 2398 LOG(LS_INFO) << stats.ToString(rtc::TimeMillis());
2398 2399
(...skipping 113 matching lines...) Expand 10 before | Expand all | Expand 10 after
2512 rtx_mapping[video_codecs[i].codec.id] != 2513 rtx_mapping[video_codecs[i].codec.id] !=
2513 ulpfec_config.red_payload_type) { 2514 ulpfec_config.red_payload_type) {
2514 video_codecs[i].rtx_payload_type = rtx_mapping[video_codecs[i].codec.id]; 2515 video_codecs[i].rtx_payload_type = rtx_mapping[video_codecs[i].codec.id];
2515 } 2516 }
2516 } 2517 }
2517 2518
2518 return video_codecs; 2519 return video_codecs;
2519 } 2520 }
2520 2521
2521 } // namespace cricket 2522 } // 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