SrtRecordingSettings interface

A recording of what an SRT output transmits; see SrtOutputNode.startRecording().

Signature:

export interface SrtRecordingSettings

Properties

Property Type Description

fileName

string

The file to write: rolled to <fileName>.0, .1, …​ with a rollover

maxBufferedBytes?

number

(Optional) How far the disk may fall behind before the recording drops to the next segment start (default 32 MiB)

rollover?

RolloverSettings

(Optional) Roll to a new file after this long or this size, at the next segment start

segmentDurationMs?

number

(Optional) Segments start on the first random access point at least this long after the last (default 6000, minimum 1000)