mirror of
https://github.com/mollyim/webrtc.git
synced 2025-05-16 15:20:42 +01:00
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:
parent
909338b027
commit
a4e37a8f82
1 changed files with 5 additions and 1 deletions
|
@ -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() {}
|
||||
|
|
Loading…
Reference in a new issue