public interface

GlShaderProgram.ErrorListener

 androidx.media3.effect.GlShaderProgram.ErrorListener

Overview

Listener for video frame processing errors.

This listener can be called from any thread.

Summary

Methods
public voidonError(VideoFrameProcessingException e)

Called when an exception occurs during asynchronous video frame processing.

Methods

public 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.