Chromium Code Reviews

Unified Diff: webrtc/system_wrappers/include/rtp_to_ntp_estimator.h

Issue 2963133003: More gracefully handle rtp timestamp jumps in the rtp to ntp estimator. (Closed)
Patch Set: Created 3 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Index: webrtc/system_wrappers/include/rtp_to_ntp_estimator.h
diff --git a/webrtc/system_wrappers/include/rtp_to_ntp_estimator.h b/webrtc/system_wrappers/include/rtp_to_ntp_estimator.h
index a17428bf2730c4a0a68d06aaf1d69c418cc8dfd8..26f44bb36245969d97ecbcbff9f6c024eb9b8741 100644
--- a/webrtc/system_wrappers/include/rtp_to_ntp_estimator.h
+++ b/webrtc/system_wrappers/include/rtp_to_ntp_estimator.h
@@ -57,6 +57,7 @@ class RtpToNtpEstimator {
private:
void UpdateParameters();
+ int consecutive_old_timestamps_;
std::list<RtcpMeasurement> measurements_;
Parameters params_;
};

Powered by Google App Engine