InputRecordingSettings interface

A recording of one source of a running input: see the input’s startRecording.

Signature:

export interface InputRecordingSettings

Properties

Property Type Description

fileName

string

The file to write; with a rollover, numbered in place of its extension: rec.ts becomes rec.0, rec.1, …​

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)

segmentDurationMs?

number

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