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

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

Issue 3008983002: Change reporting of timing frames conditions in GetStats on receive side (Closed)
Patch Set: Implement Sprang@ comments 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
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 2375 matching lines...) Expand 10 before | Expand all | Expand 10 after
2386 info.qp_sum = stats.qp_sum; 2386 info.qp_sum = stats.qp_sum;
2387 2387
2388 info.interframe_delay_max_ms = stats.interframe_delay_max_ms; 2388 info.interframe_delay_max_ms = stats.interframe_delay_max_ms;
2389 2389
2390 info.codec_name = GetCodecNameFromPayloadType(stats.current_payload_type); 2390 info.codec_name = GetCodecNameFromPayloadType(stats.current_payload_type);
2391 2391
2392 info.firs_sent = stats.rtcp_packet_type_counts.fir_packets; 2392 info.firs_sent = stats.rtcp_packet_type_counts.fir_packets;
2393 info.plis_sent = stats.rtcp_packet_type_counts.pli_packets; 2393 info.plis_sent = stats.rtcp_packet_type_counts.pli_packets;
2394 info.nacks_sent = stats.rtcp_packet_type_counts.nack_packets; 2394 info.nacks_sent = stats.rtcp_packet_type_counts.nack_packets;
2395 2395
2396 info.timing_frame_info = stream_->GetAndResetTimingFrameInfo(); 2396 info.timing_frame_info = stats.timing_frame_info;
tommi 2017/09/04 09:09:21 std::move?
ilnik 2017/09/04 09:18:55 From my understanding it will do nothing. TimingFr
2397 2397
2398 if (log_stats) 2398 if (log_stats)
2399 LOG(LS_INFO) << stats.ToString(rtc::TimeMillis()); 2399 LOG(LS_INFO) << stats.ToString(rtc::TimeMillis());
2400 2400
2401 return info; 2401 return info;
2402 } 2402 }
2403 2403
2404 WebRtcVideoChannel::VideoCodecSettings::VideoCodecSettings() 2404 WebRtcVideoChannel::VideoCodecSettings::VideoCodecSettings()
2405 : flexfec_payload_type(-1), rtx_payload_type(-1) {} 2405 : flexfec_payload_type(-1), rtx_payload_type(-1) {}
2406 2406
(...skipping 165 matching lines...) Expand 10 before | Expand all | Expand 10 after
2572 stream.temporal_layer_thresholds_bps.resize(GetDefaultVp9TemporalLayers() - 2572 stream.temporal_layer_thresholds_bps.resize(GetDefaultVp9TemporalLayers() -
2573 1); 2573 1);
2574 } 2574 }
2575 2575
2576 std::vector<webrtc::VideoStream> streams; 2576 std::vector<webrtc::VideoStream> streams;
2577 streams.push_back(stream); 2577 streams.push_back(stream);
2578 return streams; 2578 return streams;
2579 } 2579 }
2580 2580
2581 } // namespace cricket 2581 } // namespace cricket
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698