VideoSink.VideoFrameHandler


interface VideoSink.VideoFrameHandler


Handler for a video frame.

Summary

Public functions

Unit
render(renderTimestampNs: Long)

Renders the frame on the input surface.

Unit

Skips the frame.

Public functions

render

fun render(renderTimestampNs: Long): Unit

Renders the frame on the input surface.

Parameters
renderTimestampNs: Long

The timestamp to associate with this frame when it is sent to the surface.

skip

fun skip(): Unit

Skips the frame.