Renamed a variable in overuse_detector.
Bug: webrtc:9933 Change-Id: I6f3ad101b69f36d280c5783f30d5f03f730aecce Reviewed-on: https://webrtc-review.googlesource.com/c/115942 Reviewed-by: Stefan Holmer <stefan@webrtc.org> Commit-Queue: Christoffer Rodbro <crodbro@webrtc.org> Cr-Commit-Position: refs/heads/master@{#26113}
This commit is contained in:
committed by
Commit Bot
parent
5f7c835487
commit
c7dbd5ac08
@ -31,7 +31,7 @@ const size_t kDisabledPrefixLength = sizeof(kDisabledPrefix) - 1;
|
||||
|
||||
const double kMaxAdaptOffsetMs = 15.0;
|
||||
const double kOverUsingTimeThreshold = 10;
|
||||
const int kMinNumDeltas = 60;
|
||||
const int kMaxNumDeltas = 60;
|
||||
|
||||
bool AdaptiveThresholdExperimentIsDisabled() {
|
||||
std::string experiment_string =
|
||||
@ -85,7 +85,7 @@ BandwidthUsage OveruseDetector::Detect(double offset,
|
||||
if (num_of_deltas < 2) {
|
||||
return BandwidthUsage::kBwNormal;
|
||||
}
|
||||
const double T = std::min(num_of_deltas, kMinNumDeltas) * offset;
|
||||
const double T = std::min(num_of_deltas, kMaxNumDeltas) * offset;
|
||||
BWE_TEST_LOGGING_PLOT(1, "T", now_ms, T);
|
||||
BWE_TEST_LOGGING_PLOT(1, "threshold", now_ms, threshold_);
|
||||
if (T > threshold_) {
|
||||
|
||||
Reference in New Issue
Block a user