Index: webrtc/modules/remote_bitrate_estimator/test/estimators/remb.cc |
diff --git a/webrtc/modules/remote_bitrate_estimator/test/estimators/remb.cc b/webrtc/modules/remote_bitrate_estimator/test/estimators/remb.cc |
index 8ec2b728db521bb7510b182b42ae497a120e00c1..b18b9f06b9909cea5b69ee9630a4842ad45054a0 100644 |
--- a/webrtc/modules/remote_bitrate_estimator/test/estimators/remb.cc |
+++ b/webrtc/modules/remote_bitrate_estimator/test/estimators/remb.cc |
@@ -69,15 +69,13 @@ RembReceiver::RembReceiver(int flow_id, bool plot) |
recv_stats_(ReceiveStatistics::Create(&clock_)), |
latest_estimate_bps_(-1), |
last_feedback_ms_(-1), |
- estimator_(new RemoteBitrateEstimatorAbsSendTime( |
- this, |
- &clock_, |
- kRemoteBitrateEstimatorMinBitrateBps)) { |
+ estimator_(new RemoteBitrateEstimatorAbsSendTime(this, &clock_)) { |
std::stringstream ss; |
ss << "Estimate_" << flow_id_ << "#1"; |
estimate_log_prefix_ = ss.str(); |
// Default RTT in RemoteRateControl is 200 ms ; 50 ms is more realistic. |
estimator_->OnRttUpdate(50, 50); |
+ estimator_->SetMinBitrate(kRemoteBitrateEstimatorMinBitrateBps); |
} |
RembReceiver::~RembReceiver() { |