GlShaderProgram.ErrorListener


interface GlShaderProgram.ErrorListener


Listener for video frame processing errors.

This listener can be called from any thread.

Summary

Public functions

Unit

Called when an exception occurs during asynchronous video frame processing.

Public functions

onError

fun onError(e: VideoFrameProcessingException!): Unit

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.