Skip to main content

RecordingBaseOptions

Electron APIs / Recorder / RecordingBaseOptions

Base configuration options for video recording. These settings apply to all recording sessions and allow customization of format, audio routing, and shutdown behavior.

See

Extended by

Properties

PropertyTypeDescription
audioTrack?numberDefines which audio track(s) should be used for recording. If separateAudioTracks is enabled, it may include multiple tracks such as Track1, Track2, and Track3. Default Track1 See AudioTracks
autoShutdownOnGameExit?booleanAutomatically stops the recording when the game exits. This only applies when recording with a Game capture source.
fileFormat?kFileFormatSpecifies the container format for the output video file. Common formats include 'fragmented_mp4', 'mkv', 'flv', etc. Default 'fragmented_mp4' See kFileFormat