Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(184)

Unified Diff: webrtc/modules/congestion_controller/probe_controller.cc

Issue 2650393002: Improve bitrate probing for the audio-only case. (Closed)
Patch Set: . Created 3 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: webrtc/modules/congestion_controller/probe_controller.cc
diff --git a/webrtc/modules/congestion_controller/probe_controller.cc b/webrtc/modules/congestion_controller/probe_controller.cc
index 373b268d2cdf591cae0a5d368f648dee88cc8033..72d0e9ed0dbdb54b0b9698e86dcd5816527f6507 100644
--- a/webrtc/modules/congestion_controller/probe_controller.cc
+++ b/webrtc/modules/congestion_controller/probe_controller.cc
@@ -164,7 +164,7 @@ void ProbeController::SetEstimatedBitrate(int64_t bitrate_bps) {
// it ramps up from bitrate_bps.
if (state_ == State::kProbingComplete &&
pacer_->GetApplicationLimitedRegionStartTime() &&
- bitrate_bps < estimated_bitrate_bps_ / 2 &&
+ bitrate_bps < 2 * estimated_bitrate_bps_ / 3 &&
(now_ms - last_alr_probing_time_) > kAlrProbingIntervalMinMs) {
LOG(LS_INFO) << "Detected big BW drop in ALR, start probe.";
// Track how often we probe in response to BW drop in ALR.

Powered by Google App Engine
This is Rietveld 408576698