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
| Property | Type | Description |
|---|---|---|
audioTrack? | number | Defines 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? | boolean | Automatically stops the recording when the game exits. This only applies when recording with a Game capture source. |
fileFormat? | kFileFormat | Specifies the container format for the output video file. Common formats include 'fragmented_mp4', 'mkv', 'flv', etc. Default 'fragmented_mp4' See kFileFormat |