Reland "Periodically probe if current estimate lower than a ratio of NetworkState estimate"
This reverts commit e02fbb040e253d9e0449ad2085e32575394f88d8. Reason for revert: Downstream tests temporalily disabled. Original change's description: > Revert "Periodically probe if current estimate lower than a ratio of NetworkState estimate" > > This reverts commit c371a13273c399249fb9bf602efed22e70e27166. > > Reason for revert: Speculative revert (breaks downstream project) > > Original change's description: > > Periodically probe if current estimate lower than a ratio of NetworkState estimate > > > > This replace the immmediate probing if NetworkState estimate change. > > > > > > Bug: webrtc:14392 > > Change-Id: I2cc79c21015a4da2e6cba2098f1bc3c69944821f > > Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/280741 > > Reviewed-by: Diep Bui <diepbp@webrtc.org> > > Commit-Queue: Per Kjellander <perkj@webrtc.org> > > Cr-Commit-Position: refs/heads/main@{#38495} > > Bug: webrtc:14392 > Change-Id: I83cc8ab9986171e58971fb443d3e5d83afab3a2c > No-Presubmit: true > No-Tree-Checks: true > No-Try: true > Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/280948 > Owners-Override: Artem Titov <titovartem@webrtc.org> > Commit-Queue: Artem Titov <titovartem@webrtc.org> > Bot-Commit: rubber-stamper@appspot.gserviceaccount.com <rubber-stamper@appspot.gserviceaccount.com> > Auto-Submit: Artem Titov <titovartem@webrtc.org> > Cr-Commit-Position: refs/heads/main@{#38497} Bug: webrtc:14392 Change-Id: I211599ab6061d51a825588afb0babf12c5686dfc Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/281120 Reviewed-by: Diep Bui <diepbp@webrtc.org> Commit-Queue: Per Kjellander <perkj@webrtc.org> Reviewed-by: Artem Titov <titovartem@webrtc.org> Bot-Commit: rubber-stamper@appspot.gserviceaccount.com <rubber-stamper@appspot.gserviceaccount.com> Cr-Commit-Position: refs/heads/main@{#38507}
This commit is contained in:
committed by
WebRTC LUCI CQ
parent
3ea1608816
commit
1639787400
@ -50,12 +50,12 @@ struct ProbeControllerConfig {
|
||||
|
||||
// Configures how often we send probes if NetworkStateEstimate is available.
|
||||
FieldTrialParameter<TimeDelta> network_state_estimate_probing_interval;
|
||||
// If the network state estimate increase more than this rate, a probe is sent
|
||||
// the next process interval.
|
||||
FieldTrialParameter<double> network_state_estimate_fast_rampup_rate;
|
||||
// If the network state estimate decreases more than this rate, a probe is
|
||||
// sent the next process interval.
|
||||
FieldTrialParameter<double> network_state_estimate_drop_down_rate;
|
||||
// Periodically probe as long as the the ratio beteeen current estimate and
|
||||
// NetworkStateEstimate is lower then this.
|
||||
FieldTrialParameter<double>
|
||||
probe_if_estimate_lower_than_network_state_estimate_ratio;
|
||||
FieldTrialParameter<TimeDelta>
|
||||
estimate_lower_than_network_state_estimate_probing_interval;
|
||||
FieldTrialParameter<double> network_state_probe_scale;
|
||||
// Overrides min_probe_duration if network_state_estimate_probing_interval
|
||||
// is set and a network state estimate is known.
|
||||
@ -155,7 +155,6 @@ class ProbeController {
|
||||
DataRate min_bitrate_to_probe_further_ = DataRate::PlusInfinity();
|
||||
Timestamp time_last_probing_initiated_ = Timestamp::MinusInfinity();
|
||||
DataRate estimated_bitrate_ = DataRate::Zero();
|
||||
bool send_probe_on_next_process_interval_;
|
||||
absl::optional<webrtc::NetworkStateEstimate> network_estimate_;
|
||||
DataRate start_bitrate_ = DataRate::Zero();
|
||||
DataRate max_bitrate_ = DataRate::PlusInfinity();
|
||||
|
||||
Reference in New Issue
Block a user