diff --git a/modules/video_coding/timing/BUILD.gn b/modules/video_coding/timing/BUILD.gn index 644ea8cb58..fc2ea9fdd6 100644 --- a/modules/video_coding/timing/BUILD.gn +++ b/modules/video_coding/timing/BUILD.gn @@ -26,6 +26,7 @@ rtc_library("inter_frame_delay") { "../../../api/units:frequency", "../../../api/units:time_delta", "../../../api/units:timestamp", + "../../../rtc_base:rtc_numerics", ] absl_deps = [ "//third_party/abseil-cpp/absl/types:optional" ] } diff --git a/modules/video_coding/timing/inter_frame_delay.h b/modules/video_coding/timing/inter_frame_delay.h index 579a488cb1..03b5f78cc1 100644 --- a/modules/video_coding/timing/inter_frame_delay.h +++ b/modules/video_coding/timing/inter_frame_delay.h @@ -16,7 +16,7 @@ #include "absl/types/optional.h" #include "api/units/time_delta.h" #include "api/units/timestamp.h" -#include "modules/include/module_common_types_public.h" +#include "rtc_base/numerics/sequence_number_unwrapper.h" namespace webrtc { @@ -35,7 +35,7 @@ class InterFrameDelay { private: // The previous rtp timestamp passed to the delay estimate int64_t prev_rtp_timestamp_unwrapped_; - TimestampUnwrapper unwrapper_; + RtpTimestampUnwrapper unwrapper_; // The previous wall clock timestamp used by the delay estimate absl::optional prev_wall_clock_;