diff options
author | Ying Wang <yinwa@webrtc.org> | 2018-06-15 13:34:39 +0200 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2018-06-15 12:07:49 +0000 |
commit | e61d72b37c64d970851976a490dc9d65061e1568 (patch) | |
tree | f6880d1ca35feef4179a38653b394897c27d939f | |
parent | 92b24f0ff4c09120d05fe134804a5b1fa1abe6d5 (diff) | |
download | webrtc-e61d72b37c64d970851976a490dc9d65061e1568.tar.gz |
Disables congestion window in pacer when CongestionWindowPushback is enabled.
Bug: None
Change-Id: I21a26fd6e32eadf1f2a619f6f3cc72da779fa0d3
Reviewed-on: https://webrtc-review.googlesource.com/83727
Commit-Queue: Ying Wang <yinwa@webrtc.org>
Reviewed-by: Christoffer Rodbro <crodbro@webrtc.org>
Reviewed-by: Sebastian Jansson <srte@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#23627}
-rw-r--r-- | modules/congestion_controller/rtp/send_side_congestion_controller.cc | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/modules/congestion_controller/rtp/send_side_congestion_controller.cc b/modules/congestion_controller/rtp/send_side_congestion_controller.cc index a75c1bc0fb..ace522cb46 100644 --- a/modules/congestion_controller/rtp/send_side_congestion_controller.cc +++ b/modules/congestion_controller/rtp/send_side_congestion_controller.cc @@ -236,7 +236,9 @@ void ControlHandler::PostUpdates(NetworkControlUpdate update) { RTC_DCHECK_CALLED_SEQUENTIALLY(&sequenced_checker_); if (update.congestion_window) { congestion_window_ = update.congestion_window; - pacer_controller_->OnCongestionWindow(*update.congestion_window); + if (!congestion_window_pushback_experiment_) { + pacer_controller_->OnCongestionWindow(*update.congestion_window); + } } if (update.pacer_config) { pacer_controller_->OnPacerConfig(*update.pacer_config); |