Remove field trial string WebRTC-Bwe-EstimateBoundedBackoff
The feature is per default enabled. Bug: webrtc:10498 Change-Id: I21787fad77eba58cd4405e91bb2dcff39003bb9c Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/285884 Commit-Queue: Per Kjellander <perkj@webrtc.org> Reviewed-by: Diep Bui <diepbp@webrtc.org> Cr-Commit-Position: refs/heads/main@{#38823}
This commit is contained in:
parent
f6777a4997
commit
b1b2840171
@ -39,10 +39,6 @@ bool IsEnabled(const FieldTrialsView& field_trials, absl::string_view key) {
|
||||
return absl::StartsWith(field_trials.Lookup(key), "Enabled");
|
||||
}
|
||||
|
||||
bool IsNotDisabled(const FieldTrialsView& field_trials, absl::string_view key) {
|
||||
return !absl::StartsWith(field_trials.Lookup(key), "Disabled");
|
||||
}
|
||||
|
||||
double ReadBackoffFactor(const FieldTrialsView& key_value_config) {
|
||||
std::string experiment_string =
|
||||
key_value_config.Lookup(kBweBackOffFactorExperiment);
|
||||
@ -89,9 +85,6 @@ AimdRateControl::AimdRateControl(const FieldTrialsView* key_value_config,
|
||||
no_bitrate_increase_in_alr_(
|
||||
IsEnabled(*key_value_config,
|
||||
"WebRTC-DontIncreaseDelayBasedBweInAlr")),
|
||||
estimate_bounded_backoff_(
|
||||
IsNotDisabled(*key_value_config,
|
||||
"WebRTC-Bwe-EstimateBoundedBackoff")),
|
||||
initial_backoff_interval_("initial_backoff_interval"),
|
||||
link_capacity_fix_("link_capacity_fix") {
|
||||
ParseFieldTrial(
|
||||
@ -381,8 +374,7 @@ DataRate AimdRateControl::ClampBitrate(DataRate new_bitrate) const {
|
||||
}
|
||||
new_bitrate = std::min(upper_bound, new_bitrate);
|
||||
}
|
||||
if (estimate_bounded_backoff_ && network_estimate_ &&
|
||||
network_estimate_->link_capacity_lower.IsFinite() &&
|
||||
if (network_estimate_ && network_estimate_->link_capacity_lower.IsFinite() &&
|
||||
new_bitrate < current_bitrate_) {
|
||||
new_bitrate = std::min(
|
||||
current_bitrate_,
|
||||
|
||||
@ -103,9 +103,6 @@ class AimdRateControl {
|
||||
// Allow the delay based estimate to only increase as long as application
|
||||
// limited region (alr) is not detected.
|
||||
const bool no_bitrate_increase_in_alr_;
|
||||
// Use estimated link capacity lower bound if it is higher than the
|
||||
// acknowledged rate when backing off due to overuse.
|
||||
const bool estimate_bounded_backoff_;
|
||||
// If false, uses estimated link capacity upper bound *
|
||||
// `estimate_bounded_increase_ratio_` as upper limit for the estimate.
|
||||
FieldTrialFlag disable_estimate_bounded_increase_{"Disabled"};
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user