DecodeOneFrameUtil.Listener


interface DecodeOneFrameUtil.Listener


Listener for decoding events.

Summary

Public functions

Unit

Called when the video MediaFormat is extracted from the container.

Unit
onFrameDecoded(mediaFormat: MediaFormat!)

Called when the video MediaFormat is read by the decoder from the byte stream, after a frame is decoded.

Public functions

onContainerExtracted

fun onContainerExtracted(mediaFormat: MediaFormat!): Unit

Called when the video MediaFormat is extracted from the container.

onFrameDecoded

fun onFrameDecoded(mediaFormat: MediaFormat!): Unit

Called when the video MediaFormat is read by the decoder from the byte stream, after a frame is decoded.