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}
This commit is contained in:
Ying Wang
2018-06-15 13:34:39 +02:00
committed by Commit Bot
parent 92b24f0ff4
commit e61d72b37c

View File

@ -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);