DesktopCapturerSource
DesktopCapturerSource Object
-
id
String - The identifier of a window or screen that can be used as achromeMediaSourceId
constraint when calling [navigator.webkitGetUserMedia
]. The format of the identifier will bewindow:XX
orscreen:XX
, whereXX
is a random generated number. -
name
String - A screen source will be named eitherEntire Screen
orScreen <index>
, while the name of a window source will match the window title. -
thumbnail
NativeImage - A thumbnail image. Note: There is no guarantee that the size of the thumbnail is the same as thethumbnailSize
specified in theoptions
passed todesktopCapturer.getSources
. The actual size depends on the scale of the screen or window.
© 2013–2017 GitHub Inc.
Licensed under the MIT license.
https://electron.atom.io/docs/api/structures/desktop-capturer-source/