mirror of
https://github.com/androidx/media.git
synced 2025-04-30 06:46:50 +08:00
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:
parent
71f82df57f
commit
601b025b3c
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user