← Back to release summary

DisplayMediaStreamOptions monitorTypeSurfaces

Category
WebRTC
Type
Chromium catches up
Status
Enabled by default (Chrome 119)
Intent stage
None

Summary

When getDisplayMedia() is called, the browser offers the user a choice of display surfaces: tabs, windows, or monitors. Using the monitorTypeSurfaces option, the web application may now hint to the browser if it prefers to include display surfaces whose type is monitor among the choices offered to the user.

Standards & signals

Docs: https://github.com/eladalon1983/screen-share-explainers/blob/main/monitorTypeSurfaces_Explainer.md

Samples: https://screen-sharing-controls.glitch.me

View on chromestatus.com