SourceRecordingSettings interface

Recording every source of an input from its creation, each to <directory>/<source name>.ts.

Signature:

export interface SourceRecordingSettings

Properties

Property Type Description

directory

string

maxBufferedBytes?

number

(Optional) How far the disk may fall behind before the recording drops data, reporting a gap (default 32 MiB)

mode?

SourceRecordingMode

(Optional) Default raw

rollover?

RolloverSettings

(Optional) Roll to a new file after this long or this size: rec.ts becomes rec.0, rec.1, …​

segmentDurationMs?

number

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