Remove unused field trial WebRTC-Bwe-LossBasedStableRate
Originally submitted here: https://webrtc.googlesource.com/src/+/350a82aec3556cfab385e41b67ab4f26f2fb0151
Bug: None
Change-Id: Id464770b089122e2cf13ce2d841f7114aa9eb9d2
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/284942
Commit-Queue: Per Kjellander <perkj@webrtc.org>
Reviewed-by: Jonas Oreland <jonaso@webrtc.org>
Commit-Queue: Jonas Oreland <jonaso@webrtc.org>
Auto-Submit: Per Kjellander <perkj@webrtc.org>
Cr-Commit-Position: refs/heads/main@{#38726}
diff --git a/modules/congestion_controller/goog_cc/goog_cc_network_control.cc b/modules/congestion_controller/goog_cc/goog_cc_network_control.cc
index dcbc15d..be7027f 100644
--- a/modules/congestion_controller/goog_cc/goog_cc_network_control.cc
+++ b/modules/congestion_controller/goog_cc/goog_cc_network_control.cc
@@ -93,8 +93,6 @@
"WebRTC-Bwe-LimitProbesLowerThanThroughputEstimate")),
rate_control_settings_(
RateControlSettings::ParseFromKeyValueConfig(key_value_config_)),
- loss_based_stable_rate_(
- IsEnabled(key_value_config_, "WebRTC-Bwe-LossBasedStableRate")),
pace_at_max_of_bwe_and_lower_link_capacity_(
IsEnabled(key_value_config_,
"WebRTC-Bwe-PaceAtMaxOfBweAndLowerLinkCapacity")),
@@ -643,11 +641,7 @@
}
DataRate stable_target_rate =
bandwidth_estimation_->GetEstimatedLinkCapacity();
- if (loss_based_stable_rate_) {
- stable_target_rate = std::min(stable_target_rate, loss_based_target_rate);
- } else {
- stable_target_rate = std::min(stable_target_rate, pushback_target_rate);
- }
+ stable_target_rate = std::min(stable_target_rate, pushback_target_rate);
if ((loss_based_target_rate != last_loss_based_target_rate_) ||
(fraction_loss != last_estimated_fraction_loss_) ||
diff --git a/modules/congestion_controller/goog_cc/goog_cc_network_control.h b/modules/congestion_controller/goog_cc/goog_cc_network_control.h
index 32526f8..37a064e 100644
--- a/modules/congestion_controller/goog_cc/goog_cc_network_control.h
+++ b/modules/congestion_controller/goog_cc/goog_cc_network_control.h
@@ -93,7 +93,6 @@
const bool ignore_probes_lower_than_network_estimate_;
const bool limit_probes_lower_than_throughput_estimate_;
const RateControlSettings rate_control_settings_;
- const bool loss_based_stable_rate_;
const bool pace_at_max_of_bwe_and_lower_link_capacity_;
const std::unique_ptr<ProbeController> probe_controller_;