SourceRecordingSettings.maxBufferedBytes property

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

Signature:

maxBufferedBytes?: number;