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

Side by Side Diff: webrtc/modules/congestion_controller/delay_based_bwe.cc

Issue 2785433002: Log probe results to RtcEventLog. (Closed)
Patch Set: . Created 3 years, 8 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 | « no previous file | webrtc/modules/congestion_controller/probe_bitrate_estimator.h » ('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) 2016 The WebRTC project authors. All Rights Reserved. 2 * Copyright (c) 2016 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 225 matching lines...) Expand 10 before | Expand all | Expand 10 after
236 event_log_(event_log), 236 event_log_(event_log),
237 clock_(clock), 237 clock_(clock),
238 inter_arrival_(), 238 inter_arrival_(),
239 kalman_estimator_(), 239 kalman_estimator_(),
240 trendline_estimator_(), 240 trendline_estimator_(),
241 detector_(), 241 detector_(),
242 receiver_incoming_bitrate_(), 242 receiver_incoming_bitrate_(),
243 last_update_ms_(-1), 243 last_update_ms_(-1),
244 last_seen_packet_ms_(-1), 244 last_seen_packet_ms_(-1),
245 uma_recorded_(false), 245 uma_recorded_(false),
246 probe_bitrate_estimator_(event_log),
246 trendline_window_size_(kDefaultTrendlineWindowSize), 247 trendline_window_size_(kDefaultTrendlineWindowSize),
247 trendline_smoothing_coeff_(kDefaultTrendlineSmoothingCoeff), 248 trendline_smoothing_coeff_(kDefaultTrendlineSmoothingCoeff),
248 trendline_threshold_gain_(kDefaultTrendlineThresholdGain), 249 trendline_threshold_gain_(kDefaultTrendlineThresholdGain),
249 probing_interval_estimator_(&rate_control_), 250 probing_interval_estimator_(&rate_control_),
250 median_slope_window_size_(kDefaultMedianSlopeWindowSize), 251 median_slope_window_size_(kDefaultMedianSlopeWindowSize),
251 median_slope_threshold_gain_(kDefaultMedianSlopeThresholdGain), 252 median_slope_threshold_gain_(kDefaultMedianSlopeThresholdGain),
252 consecutive_delayed_feedbacks_(0), 253 consecutive_delayed_feedbacks_(0),
253 last_logged_bitrate_(0), 254 last_logged_bitrate_(0),
254 last_logged_state_(kBwNormal) { 255 last_logged_state_(kBwNormal) {
255 if (in_trendline_experiment_) { 256 if (in_trendline_experiment_) {
(...skipping 222 matching lines...) Expand 10 before | Expand all | Expand 10 after
478 void DelayBasedBwe::SetMinBitrate(int min_bitrate_bps) { 479 void DelayBasedBwe::SetMinBitrate(int min_bitrate_bps) {
479 // Called from both the configuration thread and the network thread. Shouldn't 480 // Called from both the configuration thread and the network thread. Shouldn't
480 // be called from the network thread in the future. 481 // be called from the network thread in the future.
481 rate_control_.SetMinBitrate(min_bitrate_bps); 482 rate_control_.SetMinBitrate(min_bitrate_bps);
482 } 483 }
483 484
484 int64_t DelayBasedBwe::GetProbingIntervalMs() const { 485 int64_t DelayBasedBwe::GetProbingIntervalMs() const {
485 return probing_interval_estimator_.GetIntervalMs(); 486 return probing_interval_estimator_.GetIntervalMs();
486 } 487 }
487 } // namespace webrtc 488 } // namespace webrtc
OLDNEW
« no previous file with comments | « no previous file | webrtc/modules/congestion_controller/probe_bitrate_estimator.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698