Skip to content

ElectronBrowserWindow.getMediaSourceId method

ElectronBrowserWindow › getMediaSourceId

Unofficial

Returns the window id in the format of DesktopCapturerSource's id.

Signature:

getMediaSourceId(): string

Returns: stringThe media source id.