764 B
764 B
Desktop Capturer Source Object
idString - The identifier of a window or screen that can be used as achromeMediaSourceIdconstraint when calling [navigator.webkitGetUserMedia]. The format of the identifier will bewindow:XXorscreen:XX, whereXXis a random generated number.nameString - A screen source will be named eitherEntire ScreenorScreen <index>, while the name of a window source will match the window title.thumbnailNativeImage - A thumbnail image. Note: There is no guarantee that the size of the thumbnail is the same as thethumnbailSizespecified in theoptionspassed todesktopCapturer.getSources. The actual size depends on the scale of the screen or window.