Skip to main content

VideoRecordingSplitType

Electron APIs / recorder / VideoRecordingSplitType

type VideoRecordingSplitType = "byTime" | "bySize" | "manual";

Defines the methods available for splitting video recordings.

Splitting can be useful for managing file sizes, organizing segments, or controlling recording behavior dynamically.

ValueDescription
'byTime'Automatically splits the recording into segments based on elapsed time.
'bySize'Automatically splits the recording once a specific file size limit is reached.
'manual'Splitting is controlled programmatically or by user input.

Example

const splitType: VideoRecordingSplitType = "bySize";