From fcbeb774b5905134a059f58abc6b093d39434238 Mon Sep 17 00:00:00 2001 From: Evan Shrubsole Date: Mon, 9 Jan 2023 13:42:32 +0000 Subject: [PATCH] [Unwrap] Use RtpTimestampUnwrapper in VideoAnalyzer Bug: webrtc:13982 Change-Id: I285671bdd1af21b25f4e2d9b2e98ca2e12802e08 Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/288749 Reviewed-by: Philip Eliasson Auto-Submit: Evan Shrubsole Commit-Queue: Philip Eliasson Cr-Commit-Position: refs/heads/main@{#39038} --- video/video_analyzer.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/video/video_analyzer.h b/video/video_analyzer.h index 9186d78597..bf4de5f8b1 100644 --- a/video/video_analyzer.h +++ b/video/video_analyzer.h @@ -25,9 +25,9 @@ #include "modules/rtp_rtcp/source/video_rtp_depacketizer.h" #include "rtc_base/event.h" #include "rtc_base/numerics/running_statistics.h" +#include "rtc_base/numerics/sequence_number_unwrapper.h" #include "rtc_base/platform_thread.h" #include "rtc_base/synchronization/mutex.h" -#include "rtc_base/time_utils.h" #include "test/layer_filtering_transport.h" #include "test/rtp_file_writer.h" @@ -292,7 +292,7 @@ class VideoAnalyzer : public PacketReceiver, std::deque frames_ RTC_GUARDED_BY(lock_); absl::optional last_rendered_frame_ RTC_GUARDED_BY(lock_); - rtc::TimestampWrapAroundHandler wrap_handler_ RTC_GUARDED_BY(lock_); + RtpTimestampUnwrapper wrap_handler_ RTC_GUARDED_BY(lock_); std::map send_times_ RTC_GUARDED_BY(lock_); std::map recv_times_ RTC_GUARDED_BY(lock_); std::map encoded_frame_sizes_ RTC_GUARDED_BY(lock_);