Index: webrtc/modules/remote_bitrate_estimator/remote_bitrate_estimator_abs_send_time.cc |
diff --git a/webrtc/modules/remote_bitrate_estimator/remote_bitrate_estimator_abs_send_time.cc b/webrtc/modules/remote_bitrate_estimator/remote_bitrate_estimator_abs_send_time.cc |
index fa97df6a1dc90b8f82a7642dbf6d675e1a0fb533..5e9ba6f80a33dcb89cb1b8a33f55397172031232 100644 |
--- a/webrtc/modules/remote_bitrate_estimator/remote_bitrate_estimator_abs_send_time.cc |
+++ b/webrtc/modules/remote_bitrate_estimator/remote_bitrate_estimator_abs_send_time.cc |
@@ -332,8 +332,7 @@ void RemoteBitrateEstimatorAbsSendTime::IncomingPacketInfo( |
const RateControlInput input(detector_.State(), |
incoming_bitrate_.Rate(arrival_time_ms), |
estimator_->var_noise()); |
- remote_rate_.Update(&input, now_ms); |
- target_bitrate_bps = remote_rate_.UpdateBandwidthEstimate(now_ms); |
+ target_bitrate_bps = remote_rate_.Update(&input, now_ms); |
update_estimate = remote_rate_.ValidEstimate(); |
ssrcs = Keys(ssrcs_); |
} |