Adds ability to disable initial startup mode for BBR.
Bug: webrtc:8415 Change-Id: I882248999ae0125f2436dc0f9b32c4bdab1069b2 Reviewed-on: https://webrtc-review.googlesource.com/74590 Reviewed-by: Christoffer Rodbro <crodbro@webrtc.org> Commit-Queue: Sebastian Jansson <srte@webrtc.org> Cr-Commit-Position: refs/heads/master@{#23135}
This commit is contained in:
committed by
Commit Bot
parent
909338b027
commit
a4e37a8f82
@ -182,7 +182,11 @@ BbrNetworkController::BbrNetworkController(NetworkControllerConfig config)
|
||||
default_bandwidth_ = config.starting_bandwidth;
|
||||
constraints_ = config.constraints;
|
||||
Reset();
|
||||
EnterStartupMode();
|
||||
if (config_.num_startup_rtts > 0) {
|
||||
EnterStartupMode();
|
||||
} else {
|
||||
EnterProbeBandwidthMode(constraints_->at_time);
|
||||
}
|
||||
}
|
||||
|
||||
BbrNetworkController::~BbrNetworkController() {}
|
||||
|
||||
Reference in New Issue
Block a user