762 B
762 B
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 thethumnbailSize
specified in theoptions
passed todesktopCapturer.getSources
. The actual size depends on the scale of the screen or window.