From 601b025b3c2673a8672b4b29b72a8bff8e78ab56 Mon Sep 17 00:00:00 2001 From: ibaker Date: Tue, 17 Dec 2024 04:18:23 -0800 Subject: [PATCH] Clarify the base of `releaseTimeNs` in `VideoFrameMetadataListener` Also remove docs about API < 21, since the `minSdk` for the library is now 21. PiperOrigin-RevId: 707038503 --- .../media3/exoplayer/video/VideoFrameMetadataListener.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libraries/exoplayer/src/main/java/androidx/media3/exoplayer/video/VideoFrameMetadataListener.java b/libraries/exoplayer/src/main/java/androidx/media3/exoplayer/video/VideoFrameMetadataListener.java index 1829ea598e..1a0d972c66 100644 --- a/libraries/exoplayer/src/main/java/androidx/media3/exoplayer/video/VideoFrameMetadataListener.java +++ b/libraries/exoplayer/src/main/java/androidx/media3/exoplayer/video/VideoFrameMetadataListener.java @@ -27,8 +27,8 @@ public interface VideoFrameMetadataListener { * Called on the playback thread when a video frame is about to be rendered. * * @param presentationTimeUs The presentation time of the frame, in microseconds. - * @param releaseTimeNs The wallclock time at which the frame should be displayed, in nanoseconds. - * If the platform API version of the device is less than 21, then this is a best effort. + * @param releaseTimeNs The system time at which the frame should be displayed, in nanoseconds. + * Can be compared to {@link System#nanoTime()}. * @param format The format associated with the frame. * @param mediaFormat The framework media format associated with the frame, or {@code null} if not * known or not applicable (e.g., because the frame was not output by a {@link