Ensure link capacity has a valid upper limit
If the upper limit is infinite, dont probe. Bug: webrtc:42224658 Change-Id: Ia662cceded83969ec11ee013adb2100f983fbd13 Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/363660 Commit-Queue: Per Kjellander <perkj@webrtc.org> Reviewed-by: Diep Bui <diepbp@webrtc.org> Cr-Commit-Position: refs/heads/main@{#43079}
This commit is contained in:
parent
17642c0db9
commit
0467d2b91c
@ -350,7 +350,8 @@ std::vector<ProbeClusterConfig> ProbeController::SetEstimatedBitrate(
|
||||
}
|
||||
DataRate network_state_estimate_probe_further_limit =
|
||||
config_.network_state_estimate_probing_interval->IsFinite() &&
|
||||
network_estimate_
|
||||
network_estimate_ &&
|
||||
network_estimate_->link_capacity_upper.IsFinite()
|
||||
? network_estimate_->link_capacity_upper *
|
||||
config_.further_probe_threshold
|
||||
: DataRate::PlusInfinity();
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user