Interface RecordingPacket

interface RecordingPacket {
    data: Buffer;
    isLast: boolean;
}

Properties

Properties

data: Buffer

The Buffer containing the data of the packet.

isLast: boolean

Defines if this RecordingPacket is the last one in the recording stream. If true this will signal an end of stream and closes the recording stream.