diff options
Diffstat (limited to 'rtc_base/rate_limiter.cc')
-rw-r--r-- | rtc_base/rate_limiter.cc | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/rtc_base/rate_limiter.cc b/rtc_base/rate_limiter.cc index 4740b26f81..0f3f343aed 100644 --- a/rtc_base/rate_limiter.cc +++ b/rtc_base/rate_limiter.cc @@ -14,7 +14,6 @@ #include "absl/types/optional.h" #include "system_wrappers/include/clock.h" -#include "system_wrappers/include/field_trial.h" namespace webrtc { @@ -35,8 +34,7 @@ bool RateLimiter::TryUseRate(size_t packet_size_bytes) { MutexLock lock(&lock_); int64_t now_ms = clock_->TimeInMilliseconds(); absl::optional<uint32_t> current_rate = current_rate_.Rate(now_ms); - if (!webrtc::field_trial::IsEnabled("WebRTC-DisableRtxRateLimiter") && - current_rate) { + if (current_rate) { // If there is a current rate, check if adding bytes would cause maximum // bitrate target to be exceeded. If there is NOT a valid current rate, // allow allocating rate even if target is exceeded. This prevents |