MediaCodecAdapter.OnFrameRenderedListener


interface MediaCodecAdapter.OnFrameRenderedListener


Listener to be called when an output frame has rendered on the output surface.

Summary

Public functions

Unit
onFrameRendered(
    codec: MediaCodecAdapter!,
    presentationTimeUs: Long,
    nanoTime: Long
)

Public functions

onFrameRendered

fun onFrameRendered(
    codec: MediaCodecAdapter!,
    presentationTimeUs: Long,
    nanoTime: Long
): Unit