diff --git a/modules/congestion_controller/goog_cc/delay_based_bwe.cc b/modules/congestion_controller/goog_cc/delay_based_bwe.cc index 185b09d8ab..4c5bdb67a0 100644 --- a/modules/congestion_controller/goog_cc/delay_based_bwe.cc +++ b/modules/congestion_controller/goog_cc/delay_based_bwe.cc @@ -95,9 +95,9 @@ DelayBasedBwe::DelayBasedBwe(const WebRtcKeyValueConfig* key_value_config, prev_bitrate_(DataRate::Zero()), has_once_detected_overuse_(false), prev_state_(BandwidthUsage::kBwNormal), - use_new_inter_arrival_delta_(absl::StartsWith( + use_new_inter_arrival_delta_(!absl::StartsWith( key_value_config->Lookup("WebRTC-Bwe-NewInterArrivalDelta"), - "Enabled")), + "Disabled")), alr_limited_backoff_enabled_(absl::StartsWith( key_value_config->Lookup("WebRTC-Bwe-AlrLimitedBackoff"), "Enabled")) { diff --git a/modules/congestion_controller/goog_cc/delay_based_bwe_unittest.cc b/modules/congestion_controller/goog_cc/delay_based_bwe_unittest.cc index 06345c4d9b..0cc6068b6b 100644 --- a/modules/congestion_controller/goog_cc/delay_based_bwe_unittest.cc +++ b/modules/congestion_controller/goog_cc/delay_based_bwe_unittest.cc @@ -31,9 +31,10 @@ constexpr float kTargetUtilizationFraction = 0.95f; INSTANTIATE_TEST_SUITE_P( , DelayBasedBweTest, - ::testing::Values("", "WebRTC-Bwe-NewInterArrivalDelta/Enabled/"), + ::testing::Values("", "WebRTC-Bwe-NewInterArrivalDelta/Disabled/"), [](::testing::TestParamInfo info) { - return info.param == "" ? "Default" : "NewInterArrival"; + return info.param.empty() ? "SafetypedInterArrival" + : "LegacyInterArrival"; }); TEST_P(DelayBasedBweTest, ProbeDetection) {