OptionalbroadcastWhether the sharing is broadcast to subsessions. Only host or co-host have this privilege.
OptionalcaptureThe capture height of share video. Only enabled when the value of secondaryCameraId is not undefined.
OptionalcaptureThe capture with of the share video. Only enabled when the value of secondaryCameraId is not undefined.
OptionalcontrolsPrivacy-preserving screen sharing controls See for details: https://developer.chrome.com/docs/web-platform/screen-sharing-controls
OptionalmonitorTypeSurfaces?: "include" | "exclude"The monitorTypeSurfaces option
See for details:
https://developer.chrome.com/docs/web-platform/screen-sharing-controls/#monitorTypeSurfaces
OptionalpreferCurrentTab?: booleanThe preferCurrentTab option
See for details:
https://developer.mozilla.org/en-US/docs/Web/API/MediaDevices/getDisplayMedia#prefercurrenttab
OptionalselfBrowserSurface?: "include" | "exclude"The selfBrowserSurface option
See for details:
https://developer.chrome.com/docs/web-platform/screen-sharing-controls/#selfBrowserSurface
OptionalsurfaceSwitching?: "include" | "exclude"The surfaceSwitching option
See for details:
https://developer.chrome.com/docs/web-platform/screen-sharing-controls/#surfaceSwitching
OptionalsystemAudio?: "include" | "exclude"The systemAudio option
See for details:
https://developer.chrome.com/docs/web-platform/screen-sharing-controls/#systemAudio
OptionaldisplaySpecifies the types of display surface that the user may select. See for details: https://developer.chrome.com/docs/web-platform/screen-sharing-controls/#displaySurface
OptionalhideOption to show (default, false) or hide (true) the "Share Audio" checkbox when sharing a Chrome tab.
OptionaloptimizedOptimized for video share. If sharing a video file that is stored locally on the computer, we recommend using the video share feature, which will provide better quality due to decreased CPU usage.
OptionalrequestWhether the screen sharing user can receive the 'share-can-see-screen' event.
OptionalsecondarySecondary camera ID. Share a secondary camera connected to your computer. For example, a document camera or the integrated camera on your laptop.
OptionalsimultaneousEnables the ability to view other users' screen shares while sharing your own.
Note: If you share a screen that includes the session window itself (showing both your screen and the other person's share), you may encounter a "Hall of Mirrors" effect, a repeating visual loop where the shared content reflects itself recursively.
OptionalsourceSpecify the sourceId of the selected screen. This is used for the electron or nw.js application. See for details: electron https://www.electronjs.org/docs/latest/api/desktop-capturer nw.js https://docs.nwjs.io/en/latest/References/Screen/#screenchoosedesktopmedia-sources-callback
Share screen option interface.