Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(147)

Unified Diff: webrtc/modules/remote_bitrate_estimator/overuse_detector.cc

Issue 2580733004: Remove OverUseDetectorOptions from OveruseDetector since it isn't used. (Closed)
Patch Set: Update comment Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: webrtc/modules/remote_bitrate_estimator/overuse_detector.cc
diff --git a/webrtc/modules/remote_bitrate_estimator/overuse_detector.cc b/webrtc/modules/remote_bitrate_estimator/overuse_detector.cc
index a57ea16584091075b92d0dc21306b531d84befea..93bd05f2922e7b0773d0e508b2be06cbdfbbd793 100644
--- a/webrtc/modules/remote_bitrate_estimator/overuse_detector.cc
+++ b/webrtc/modules/remote_bitrate_estimator/overuse_detector.cc
@@ -60,14 +60,13 @@ bool ReadExperimentConstants(double* k_up, double* k_down) {
"%lf,%lf", k_up, k_down) == 2;
}
-OveruseDetector::OveruseDetector(const OverUseDetectorOptions& options)
+OveruseDetector::OveruseDetector()
// Experiment is on by default, but can be disabled with finch by setting
// the field trial string to "WebRTC-AdaptiveBweThreshold/Disabled/".
: in_experiment_(!AdaptiveThresholdExperimentIsDisabled()),
k_up_(0.0087),
k_down_(0.039),
overusing_time_threshold_(100),
- options_(options),
threshold_(12.5),
last_update_ms_(-1),
prev_offset_(0.0),

Powered by Google App Engine
This is Rietveld 408576698