SrtRecordingSettings.maxBufferedBytes property

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

Signature:

maxBufferedBytes?: number;