public interface

VideoCompositor.Listener

 androidx.media3.effect.VideoCompositor.Listener

Overview

Listener for errors.

Summary

Methods
public voidonEnded()

Called after VideoCompositor has output its final output frame.

public voidonError(VideoFrameProcessingException exception)

Called when an exception occurs during asynchronous frame compositing.

Methods

public void onError(VideoFrameProcessingException exception)

Called when an exception occurs during asynchronous frame compositing.

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

public void onEnded()

Called after VideoCompositor has output its final output frame.