Index: webrtc/modules/remote_bitrate_estimator/transport_feedback_adapter.cc |
diff --git a/webrtc/modules/remote_bitrate_estimator/transport_feedback_adapter.cc b/webrtc/modules/remote_bitrate_estimator/transport_feedback_adapter.cc |
index 5f51bc55e9c10e92a2591054a888a36faec645be..11922d298ee1d79c1650fea9fdd87606516727fe 100644 |
--- a/webrtc/modules/remote_bitrate_estimator/transport_feedback_adapter.cc |
+++ b/webrtc/modules/remote_bitrate_estimator/transport_feedback_adapter.cc |
@@ -49,11 +49,17 @@ void TransportFeedbackAdapter::SetBitrateEstimator( |
} |
} |
-void TransportFeedbackAdapter::OnPacketSent(const PacketInfo& info) { |
+void TransportFeedbackAdapter::OnSentPacket(const PacketInfo& info) { |
rtc::CritScope cs(&lock_); |
send_time_history_.AddAndRemoveOld(info); |
} |
+void TransportFeedbackAdapter::UpdateSendTime(uint16_t sequence_number, |
+ int64_t send_time_ms) { |
+ rtc::CritScope cs(&lock_); |
+ send_time_history_.UpdateSendTime(sequence_number, send_time_ms); |
+} |
+ |
void TransportFeedbackAdapter::OnTransportFeedback( |
const rtcp::TransportFeedback& feedback) { |
int64_t timestamp_us = feedback.GetBaseTimeUs(); |