Package com.castlabs.sdk.debug

# Interface DebugMediaCodecAdapterFactory.OnFrameRenderedListener

Enclosing class:
  `DebugMediaCodecAdapterFactory`

public static interface DebugMediaCodecAdapterFactory.OnFrameRenderedListener
Listener for when a frame is rendered.

- ## Method Summary

  Modifier and Type
  Method
  Description
  `void`
  `onFrameRendered(com.google.android.exoplayer2.mediacodec.MediaCodecAdapter codec, long presentationTimeUs, long nanoTime)`
  Called when a frame is rendered.

- ## Method Details

  - ### onFrameRendered

    void onFrameRendered(@NonNull com.google.android.exoplayer2.mediacodec.MediaCodecAdapter codec, long presentationTimeUs, long nanoTime)
    Called when a frame is rendered.
    Parameters:
      `codec` - The codec that rendered the frame.
      `presentationTimeUs` - The presentation time of the frame, in microseconds.
      `nanoTime` - The system time when the frame was rendered, in nanoseconds.