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
| Property | Type | Description |
|---|---|---|
name? | string | Unique Source name (for easier identification). |
stretchToOutputSize? | boolean | Whether 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 (if transform is not provided). |
transform? | SourceTransformOptions | Transform options for the source. |