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

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

Issue 3009793002: Implement googContentType GetStats metric reported on receive side. (Closed)
Patch Set: Fix broken tests on ASAN Created 3 years, 3 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/pc/statscollector.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 2410 matching lines...) Expand 10 before | Expand all | Expand 10 after
2421 info.min_playout_delay_ms = stats.min_playout_delay_ms; 2421 info.min_playout_delay_ms = stats.min_playout_delay_ms;
2422 info.render_delay_ms = stats.render_delay_ms; 2422 info.render_delay_ms = stats.render_delay_ms;
2423 info.frames_received = stats.frame_counts.key_frames + 2423 info.frames_received = stats.frame_counts.key_frames +
2424 stats.frame_counts.delta_frames; 2424 stats.frame_counts.delta_frames;
2425 info.frames_decoded = stats.frames_decoded; 2425 info.frames_decoded = stats.frames_decoded;
2426 info.frames_rendered = stats.frames_rendered; 2426 info.frames_rendered = stats.frames_rendered;
2427 info.qp_sum = stats.qp_sum; 2427 info.qp_sum = stats.qp_sum;
2428 2428
2429 info.interframe_delay_max_ms = stats.interframe_delay_max_ms; 2429 info.interframe_delay_max_ms = stats.interframe_delay_max_ms;
2430 2430
2431 info.content_type = stats.content_type;
2432
2431 info.codec_name = GetCodecNameFromPayloadType(stats.current_payload_type); 2433 info.codec_name = GetCodecNameFromPayloadType(stats.current_payload_type);
2432 2434
2433 info.firs_sent = stats.rtcp_packet_type_counts.fir_packets; 2435 info.firs_sent = stats.rtcp_packet_type_counts.fir_packets;
2434 info.plis_sent = stats.rtcp_packet_type_counts.pli_packets; 2436 info.plis_sent = stats.rtcp_packet_type_counts.pli_packets;
2435 info.nacks_sent = stats.rtcp_packet_type_counts.nack_packets; 2437 info.nacks_sent = stats.rtcp_packet_type_counts.nack_packets;
2436 2438
2437 info.timing_frame_info = stats.timing_frame_info; 2439 info.timing_frame_info = stats.timing_frame_info;
2438 2440
2439 if (log_stats) 2441 if (log_stats)
2440 LOG(LS_INFO) << stats.ToString(rtc::TimeMillis()); 2442 LOG(LS_INFO) << stats.ToString(rtc::TimeMillis());
(...skipping 172 matching lines...) Expand 10 before | Expand all | Expand 10 after
2613 stream.temporal_layer_thresholds_bps.resize(GetDefaultVp9TemporalLayers() - 2615 stream.temporal_layer_thresholds_bps.resize(GetDefaultVp9TemporalLayers() -
2614 1); 2616 1);
2615 } 2617 }
2616 2618
2617 std::vector<webrtc::VideoStream> streams; 2619 std::vector<webrtc::VideoStream> streams;
2618 streams.push_back(stream); 2620 streams.push_back(stream);
2619 return streams; 2621 return streams;
2620 } 2622 }
2621 2623
2622 } // namespace cricket 2624 } // namespace cricket
OLDNEW
« no previous file with comments | « webrtc/media/base/mediachannel.h ('k') | webrtc/pc/statscollector.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698