Web features explorer

Screen capture

Limited availability
Tags: api html http

The navigator.mediaDevices.getDisplayMedia() method asks the user to choose a screen or portion of a screen (such as a window) to capture as a media stream. To learn more, see CaptureController, CaptureController: CaptureController() constructor, CaptureController: setFocusBehavior() method, Screen Capture API, MediaTrackConstraints: displaySurface property, MediaTrackConstraints: logicalSurface property, MediaTrackConstraints: suppressLocalAudioPlayback property, Permissions-Policy: display-capture at MDN.

Compatibility