RawFrame

data class RawFrame(val rawBuffer: ByteBuffer, var timestampInUs: Long, val onClosed: (RawFrame) -> Unit = {}) : Closeable

A raw frame internal representation.

Constructors

Link copied to clipboard
constructor(rawBuffer: ByteBuffer, timestampInUs: Long, onClosed: (RawFrame) -> Unit = {})

Properties

Link copied to clipboard

A callback to call when frame is closed.

Link copied to clipboard

Contains an audio or video frame data.

Link copied to clipboard

Presentation timestamp in µs

Functions

Link copied to clipboard
open override fun close()