RawFrame

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

A raw frame internal representation.

Constructors

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

Properties

Link copied to clipboard
open override val onClosed: (ICloseableFrame) -> Unit

A callback to call when frame is closed.

Link copied to clipboard
open override val rawBuffer: ByteBuffer

Contains an audio or video frame data.

Link copied to clipboard

Presentation timestamp in µs

Functions

Link copied to clipboard
open override fun close()