Rename parsing function in AimdRateControl
Bug: None Change-Id: I59e54cb4ec87c5d31eb8b14813766f1d1e2a95c4 Reviewed-on: https://webrtc-review.googlesource.com/77240 Reviewed-by: Sebastian Jansson <srte@webrtc.org> Commit-Queue: Björn Terelius <terelius@webrtc.org> Cr-Commit-Position: refs/heads/master@{#23386}
This commit is contained in:
committed by
Commit Bot
parent
c34e381d61
commit
95de63b6fc
@ -34,7 +34,7 @@ static const float kDefaultBackoffFactor = 0.85f;
|
||||
|
||||
const char kBweBackOffFactorExperiment[] = "WebRTC-BweBackOffFactor";
|
||||
|
||||
float ReadTrendlineFilterWindowSize() {
|
||||
float ReadBackoffFactor() {
|
||||
std::string experiment_string =
|
||||
webrtc::field_trial::FindFullName(kBweBackOffFactorExperiment);
|
||||
float backoff_factor;
|
||||
@ -66,7 +66,7 @@ AimdRateControl::AimdRateControl()
|
||||
time_first_incoming_estimate_(-1),
|
||||
bitrate_is_initialized_(false),
|
||||
beta_(webrtc::field_trial::IsEnabled(kBweBackOffFactorExperiment)
|
||||
? ReadTrendlineFilterWindowSize()
|
||||
? ReadBackoffFactor()
|
||||
: kDefaultBackoffFactor),
|
||||
rtt_(kDefaultRttMs),
|
||||
in_experiment_(!AdaptiveThresholdExperimentIsDisabled()),
|
||||
|
||||
Reference in New Issue
Block a user