Index: webrtc/modules/remote_bitrate_estimator/remote_bitrate_estimator_single_stream.cc |
diff --git a/webrtc/modules/remote_bitrate_estimator/remote_bitrate_estimator_single_stream.cc b/webrtc/modules/remote_bitrate_estimator/remote_bitrate_estimator_single_stream.cc |
index 182cbf9b1ed86c284dce9e78d3da69855cfdffc2..d97bb4178423b6b8ed8b54dfae8cc337fb2ee0d9 100644 |
--- a/webrtc/modules/remote_bitrate_estimator/remote_bitrate_estimator_single_stream.cc |
+++ b/webrtc/modules/remote_bitrate_estimator/remote_bitrate_estimator_single_stream.cc |
@@ -109,9 +109,9 @@ void RemoteBitrateEstimatorSingleStream::IncomingPacket( |
uint32_t timestamp_delta = 0; |
int64_t time_delta = 0; |
int size_delta = 0; |
- if (estimator->inter_arrival.ComputeDeltas(rtp_timestamp, arrival_time_ms, |
- payload_size, ×tamp_delta, |
- &time_delta, &size_delta)) { |
+ if (estimator->inter_arrival.ComputeDeltas( |
+ rtp_timestamp, arrival_time_ms, now_ms, payload_size, |
+ ×tamp_delta, &time_delta, &size_delta)) { |
double timestamp_delta_ms = timestamp_delta * kTimestampToMs; |
estimator->estimator.Update(time_delta, timestamp_delta_ms, size_delta, |
estimator->detector.State()); |