From 352bd7e19fd6e059e97a3712a23fedd36ee4abb7 Mon Sep 17 00:00:00 2001 From: yancey Date: Mon, 3 Oct 2022 04:02:05 -0400 Subject: [PATCH] update loss-based threshold --- .../goog_cc/send_side_bandwidth_estimation.cc | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/protocol/whist/network/congestion_control/modules/congestion_controller/goog_cc/send_side_bandwidth_estimation.cc b/protocol/whist/network/congestion_control/modules/congestion_controller/goog_cc/send_side_bandwidth_estimation.cc index 39a47bb6f9d..9b4a35f8dff 100644 --- a/protocol/whist/network/congestion_control/modules/congestion_controller/goog_cc/send_side_bandwidth_estimation.cc +++ b/protocol/whist/network/congestion_control/modules/congestion_controller/goog_cc/send_side_bandwidth_estimation.cc @@ -46,8 +46,14 @@ constexpr TimeDelta kRtcEventLogPeriod = TimeDelta::Millis(5000); // Expecting that RTCP feedback is sent uniformly within [0.5, 1.5]s intervals. constexpr TimeDelta kMaxRtcpFeedbackInterval = TimeDelta::Millis(5000); +#if ENABLE_WHIST_CHANGE +constexpr float kDefaultLowLossThreshold = 0.06f; +constexpr float kDefaultHighLossThreshold = 0.13f; +#else constexpr float kDefaultLowLossThreshold = 0.02f; constexpr float kDefaultHighLossThreshold = 0.1f; +#endif + constexpr DataRate kDefaultBitrateThreshold = DataRate::Zero(); struct UmaRampUpMetric {