GlShaderProgram.ErrorListener
Artifact: androidx.media3:media3-effect
public interface GlShaderProgram.ErrorListener
Listener for video frame processing errors.
This listener can be called from any thread.
Summary
Public methods |
|
|---|---|
abstract void |
Called when an exception occurs during asynchronous video frame processing. |
Public methods
onError
abstract void onError(VideoFrameProcessingException e)
Called when an exception occurs during asynchronous video frame processing.
If an error occurred, consuming and producing further frames will not work as expected and the GlShaderProgram should be released.