Make some constants in the bitrate prober configurable.
This lets us change how many bytes and packets goes into the probes, as well as some other things. Bug: webrtc:10394 Change-Id: I26bb26a644e6f00366e9275228760c8744d63735 Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/128424 Commit-Queue: Jonas Olsson <jonasolsson@webrtc.org> Reviewed-by: Sebastian Jansson <srte@webrtc.org> Cr-Commit-Position: refs/heads/master@{#27312}
This commit is contained in:
@ -73,9 +73,6 @@ constexpr char kBweRapidRecoveryExperiment[] =
|
||||
// Never probe higher than configured by OnMaxTotalAllocatedBitrate().
|
||||
constexpr char kCappedProbingFieldTrialName[] = "WebRTC-BweCappedProbing";
|
||||
|
||||
constexpr char kConfigurableProbingFieldTrialName[] =
|
||||
"WebRTC-Bwe-ConfigurableProbing";
|
||||
|
||||
void MaybeLogProbeClusterCreated(RtcEventLog* event_log,
|
||||
const ProbeClusterConfig& probe) {
|
||||
RTC_DCHECK(event_log);
|
||||
@ -104,7 +101,7 @@ ProbeControllerConfig::ProbeControllerConfig(
|
||||
{&first_exponential_probe_scale_, &second_exponential_probe_scale_,
|
||||
&further_exponential_probe_scale_, &further_probe_threshold,
|
||||
&alr_probing_interval_, &alr_probe_scale_},
|
||||
key_value_config->Lookup(kConfigurableProbingFieldTrialName));
|
||||
key_value_config->Lookup("WebRTC-Bwe-ProbingConfiguration"));
|
||||
}
|
||||
|
||||
ProbeControllerConfig::ProbeControllerConfig(const ProbeControllerConfig&) =
|
||||
|
||||
Reference in New Issue
Block a user