Home > @magiclane/maps-sdk > RecorderConfiguration > chunkDurationSeconds

RecorderConfiguration.chunkDurationSeconds property

Chunk duration (seconds) used to split recordings.

A value of 0 disables chunking. When enabled the recorder verifies there is enough disk space to store a full chunk before starting. When a chunk finishes the current recording stops; if continuousRecording is true a new recording starts automatically.

Signature:

get chunkDurationSeconds(): number;

set chunkDurationSeconds(chunkDurationSeconds: number);