public class

VideoFrameReleaseControl.FrameReleaseInfo

extends java.lang.Object

 java.lang.Object

↳androidx.media3.exoplayer.video.VideoFrameReleaseControl.FrameReleaseInfo

Overview

Per VideoFrameReleaseControl.FrameReleaseAction metadata.

Summary

Constructors
publicFrameReleaseInfo()

Resets this instances state.

Methods
public longgetEarlyUs()

Returns this frame's early time compared to the playback position, before any release time adjustment to the screen vsync slots.

public longgetReleaseTimeNs()

Returns the release time for the frame, in nanoseconds, or C.TIME_UNSET if the frame should not be released yet.

from java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Constructors

public FrameReleaseInfo()

Resets this instances state.

Methods

public long getEarlyUs()

Returns this frame's early time compared to the playback position, before any release time adjustment to the screen vsync slots.

public long getReleaseTimeNs()

Returns the release time for the frame, in nanoseconds, or C.TIME_UNSET if the frame should not be released yet.