Skip to content

ElectronDesktopCapturerSource.id

ElectronDesktopCapturerSource › id

Unofficial

Type: string

The identifier of a window or screen that can be used as a chromeMediaSourceId constraint when calling navigator.webkitGetUserMedia. The format of the identifier is window:XX:YY or screen:ZZ:0. XX is the windowID/handle, YY is 1 for the current process and 0 for all others, and ZZ is a sequential number representing the screen.