Index: webrtc/modules/congestion_controller/delay_based_bwe.h |
diff --git a/webrtc/modules/congestion_controller/delay_based_bwe.h b/webrtc/modules/congestion_controller/delay_based_bwe.h |
index 6aab54918cb09829b46c42b41c30929c8dca0757..0f1472e6729dbb976887caf30731d209af9a42a0 100644 |
--- a/webrtc/modules/congestion_controller/delay_based_bwe.h |
+++ b/webrtc/modules/congestion_controller/delay_based_bwe.h |
@@ -20,6 +20,7 @@ |
#include "webrtc/base/rate_statistics.h" |
#include "webrtc/base/thread_checker.h" |
#include "webrtc/modules/congestion_controller/probe_bitrate_estimator.h" |
+#include "webrtc/modules/congestion_controller/trendline_estimator.h" |
#include "webrtc/modules/remote_bitrate_estimator/aimd_rate_control.h" |
#include "webrtc/modules/remote_bitrate_estimator/include/remote_bitrate_estimator.h" |
#include "webrtc/modules/remote_bitrate_estimator/inter_arrival.h" |
@@ -85,7 +86,8 @@ class DelayBasedBwe { |
rtc::ThreadChecker network_thread_; |
Clock* const clock_; |
std::unique_ptr<InterArrival> inter_arrival_; |
- std::unique_ptr<OveruseEstimator> estimator_; |
+ std::unique_ptr<OveruseEstimator> kalman_estimator_; |
+ std::unique_ptr<TrendlineEstimator> trendline_estimator_; |
OveruseDetector detector_; |
BitrateEstimator receiver_incoming_bitrate_; |
int64_t last_update_ms_; |
@@ -93,6 +95,10 @@ class DelayBasedBwe { |
bool uma_recorded_; |
AimdRateControl rate_control_; |
ProbeBitrateEstimator probe_bitrate_estimator_; |
+ size_t trendline_window_size_; |
+ double trendline_smoothing_coeff_; |
+ double trendline_threshold_gain_; |
+ const bool in_trendline_experiment_; |
RTC_DISALLOW_IMPLICIT_CONSTRUCTORS(DelayBasedBwe); |
}; |