Skip to main content

MonitorCaptureSourceSettings

Electron APIs / Recorder / MonitorCaptureSourceSettings

Settings specific to capturing a monitor display as a video source.

Extends CaptureSourceSettings to include monitor-specific options such as display ID, capture method, cursor visibility, and optional SDR enforcement.

These settings define how the monitor content should be captured and rendered in the final output.

See

CaptureSourceSettings

Extends

Properties

PropertyTypeDescription
captureCursor?booleanWhether to include the mouse cursor in the captured video. Default true
forceSDR?booleanForces capture to standard dynamic range (SDR), disabling HDR tone mapping.
monitorIdstringThe identifier of the monitor to capture. This should match a valid monitor ID retrieved from system monitor info.
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
type?DisplayCaptureTypeThe method or API used to capture the monitor content. Options include 'Auto', 'DXGI', 'BitBlt', and 'WGC'. Default 'Auto'