OnInputFrameProcessedListener
@UnstableApi
public interface OnInputFrameProcessedListener
A listener for processing input frames.
Summary
Public methods |
|
|---|---|
abstract void |
onInputFrameProcessed(int textureId, long syncObject)Called when the given input frame has been processed. |
Public methods
onInputFrameProcessed
abstract void onInputFrameProcessed(int textureId, long syncObject)
Called when the given input frame has been processed.
| Parameters | |
|---|---|
int textureId |
The identifier of the processed texture. |
long syncObject |
A GL sync object (see https://www.khronos.org/opengl/wiki/Sync_Object) that has been inserted into the GL command stream after the last use of the texture. Value is 0 if and only if the |
| Throws | |
|---|---|
androidx.media3.common.VideoFrameProcessingException |
Thrown if an error was encountered handling the event. |