Log information (at level LS_INFO) about which overuse estimator is used.

BUG=webrtc:7125

Review-Url: https://codereview.webrtc.org/2682893003
Cr-Commit-Position: refs/heads/master@{#16499}
This commit is contained in:
terelius 2017-02-08 08:45:20 -08:00 committed by Commit bot
parent 273f31b85c
commit ed1850a71b

View File

@ -228,10 +228,19 @@ DelayBasedBwe::DelayBasedBwe(Clock* clock)
ReadTrendlineFilterExperimentParameters(&trendline_window_size_,
&trendline_smoothing_coeff_,
&trendline_threshold_gain_);
LOG(LS_INFO) << "Trendline filter experiment enabled with parameters "
<< trendline_window_size_ << ',' << trendline_smoothing_coeff_
<< ',' << trendline_threshold_gain_;
}
if (in_median_slope_experiment_) {
ReadMedianSlopeFilterExperimentParameters(&median_slope_window_size_,
&median_slope_threshold_gain_);
LOG(LS_INFO) << "Median-slope filter experiment enabled with parameters "
<< median_slope_window_size_ << ','
<< median_slope_threshold_gain_;
}
if (!in_trendline_experiment_ && !in_median_slope_experiment_) {
LOG(LS_INFO) << "No overuse experiment enabled. Using Kalman filter.";
}
network_thread_.DetachFromThread();