Roll forward to cl/334770381

Signed-off-by: Alexey Polyudov <apolyudov@google.com>
Change-Id: I22b685b17c37357d6281cedfa7c228e304de8835
This commit is contained in:
Alexey Polyudov
2020-10-01 02:31:10 -07:00
parent fb9ea31ec0
commit bcc3f21da2
20 changed files with 718 additions and 8 deletions
+4 -4
View File
@@ -30,11 +30,11 @@ BwuManager::BwuManager(
if (config_.bandwidth_upgrade_retry_delay == absl::ZeroDuration()) {
config_.bandwidth_upgrade_retry_delay = absl::Seconds(5);
}
if (config_.bandwidth_upgrade_retry_delay == absl::ZeroDuration()) {
config_.bandwidth_upgrade_retry_delay = absl::Seconds(10);
if (config_.bandwidth_upgrade_retry_max_delay == absl::ZeroDuration()) {
config_.bandwidth_upgrade_retry_max_delay = absl::Seconds(10);
}
if (config_.allow_upgrade_to.All(false)) {
config.allow_upgrade_to.web_rtc = true;
config_.allow_upgrade_to.web_rtc = true;
}
if (!handlers.empty()) {
handlers_ = std::move(handlers);
@@ -43,7 +43,7 @@ BwuManager::BwuManager(
}
// Register the offline frame processor.
endpoint_manager.RegisterFrameProcessor(
endpoint_manager_->RegisterFrameProcessor(
V1Frame::BANDWIDTH_UPGRADE_NEGOTIATION, this);
}