Media
Screen Capture API
Capture live screen share streams using navigator.mediaDevices.getDisplayMedia.
Checking support...
Feature Not SupportedThis browser does not support the Screen Capture API Web API feature. Try testing in a modern browser (such as Chrome, Edge, Safari, or Firefox).
Advertisement
Interactive Input Workspace
Ready for input
Web API Execution Output
Result output will be displayed here after processing...
Native JavaScript Code Example (Zero Libraries)
const stream = await navigator.mediaDevices.getDisplayMedia({ video: true });About the Screen Capture API Web API
getDisplayMedia prompts the user to select and grant permission to capture contents of a screen.
Specification:W3C & WHATWG Web API Standard
Sponsored Content