CaptureSourceType
Electron APIs / recorder / CaptureSourceType
type CaptureSourceType = "Display" | "Game" | "Window" | "Image" | "Color";
Type of source to capture during screen recording or streaming.
These source types determine what part of the system the capture engine will target.
| Value | Description |
|---|---|
'Display' | Capture the entire display (monitor/screen). |
'Game' | Capture a game process or window, often using optimized game capture methods. |
'Window' | Capture a specific application window. |
'Image' | Capture a specific image. |
'Color' | Capture a solid color screen. |
Example
const source: CaptureSourceType = "Game";