idString - The identifier of a window or screen that can be used as a
chromeMediaSourceIdconstraint when calling [
navigator.webkitGetUserMedia]. The format of the identifier will be
XXis a random generated number.
nameString - A screen source will be named either
Screen <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 the
thumbnailSizespecified in the
desktopCapturer.getSources. The actual size depends on the scale of the screen or window.
display_idString - A unique identifier that will correspond to the
idof the matching Display returned by the Screen API. On some platforms, this is equivalent to the
XXportion of the
idfield above and on others it will differ. It will be an empty string if not available.
appIconNativeImage - An icon image of the application that owns the window or null if the source has a type screen. The size of the icon is not known in advance and depends on what the application provides.
© GitHub Inc.
Licensed under the MIT license.