VideoCompositor.Listener


interface VideoCompositor.Listener


Listener for errors.

Summary

Public functions

Unit

Called after VideoCompositor has output its final output frame.

Unit

Called when an exception occurs during asynchronous frame compositing.

Public functions

onEnded

fun onEnded(): Unit

Called after VideoCompositor has output its final output frame.

onError

fun onError(exception: VideoFrameProcessingException!): Unit

Called when an exception occurs during asynchronous frame compositing.

If this is called, the calling VideoCompositor must immediately be released.