SrtPacket

class SrtPacket(buffer: ByteBuffer, val isFirstPacketFrame: Boolean, val isLastPacketFrame: Boolean, ts: Long) : Packet(source)

SRT Packet internal representation.

Constructors

Link copied to clipboard
constructor(buffer: ByteBuffer, isFirstPacketFrame: Boolean, isLastPacketFrame: Boolean, ts: Long)

Properties

Link copied to clipboard

Contains data.

Link copied to clipboard

true if this is the first packet that describes a frame.

Link copied to clipboard

true if this is the last packet that describes a frame.

Link copied to clipboard
val ts: Long

Frame timestamp in µs.

Functions

Link copied to clipboard
open override fun toString(): String