Use Timestamp and TimeDelta in VCMTiming
* Switches TimestampExtrapolator to use Timestamp as well.
Bug: webrtc:13589
Change-Id: I042be5d693068553d2e8eb92fa532092d77bd7ef
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/249993
Reviewed-by: Tomas Gunnarsson <tommi@webrtc.org>
Commit-Queue: Evan Shrubsole <eshr@webrtc.org>
Cr-Commit-Position: refs/heads/main@{#36112}
diff --git a/modules/video_coding/frame_helpers.h b/modules/video_coding/frame_helpers.h
index e329d03..b6d7b0f 100644
--- a/modules/video_coding/frame_helpers.h
+++ b/modules/video_coding/frame_helpers.h
@@ -18,10 +18,9 @@
namespace webrtc {
-// TODO(https://bugs.webrtc.org/13589): Switch to using Timestamp and TimeDelta.
-bool FrameHasBadRenderTiming(int64_t render_time_ms,
- int64_t now_ms,
- int target_video_delay);
+bool FrameHasBadRenderTiming(Timestamp render_time,
+ Timestamp now,
+ TimeDelta target_video_delay);
std::unique_ptr<EncodedFrame> CombineAndDeleteFrames(
absl::InlinedVector<std::unique_ptr<EncodedFrame>, 4> frames);