GlTextureFrameRenderer.Listener


public interface GlTextureFrameRenderer.Listener


Summary

Nested types

Public methods

default void

Called after the GlTextureFrameRenderer has rendered its final output frame.

default void
onOutputFrameAvailableForRendering(long presentationTimeUs)

Called when an output frame with the given {@code presentationTimeUs} becomes available for rendering.

default void
onOutputSizeChanged(int width, int height)

Called when the output size changes.

Public methods

onEnded

default void onEnded()

Called after the GlTextureFrameRenderer has rendered its final output frame.

onOutputFrameAvailableForRendering

default void onOutputFrameAvailableForRendering(long presentationTimeUs)

Called when an output frame with the given {@code presentationTimeUs} becomes available for rendering.

onOutputSizeChanged

default void onOutputSizeChanged(int width, int height)

Called when the output size changes.