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
This commit is contained in:
ibaker 2024-12-17 04:18:23 -08:00 committed by Copybara-Service
parent 71f82df57f
commit 601b025b3c

View File

@ -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