Skip to main content

CaptureSourceSettings

Electron APIs / Recorder / CaptureSourceSettings

Configuration settings for how a capture source is rendered in the output video.

These settings control layout behavior such as stretching and centering the captured content relative to the output resolution.

Extended by

Properties

PropertyTypeDescription
stretchToOutputSize?booleanWhether the capture source should be centered and stretched to fit the output video size. When set to true, the source will automatically scale and center itself to match the output resolution, even if it requires stretching. Default true