Screen Capture API
Checking compatibility...
Capture the user's screen or application windows as a media stream. Perfect for screen sharing, recording, or remote assistance applications.
Screen capture requires user permission and a secure context (HTTPS). Some features may be browser-dependent.
Basic Screen Capture
Start capturing screen content with just a few lines of code. This example shows how to prompt users to select what they want to share and display the captured video directly in your app.
=
=
=
=
=
=
Output
Click Run to see output...
Advanced Screen Capture
Customize your screen capture with options like showing or hiding the cursor and capturing system audio. This example demonstrates how to create a more polished screen sharing experience with user-configurable settings.
=
=
=
=
=
=
Output
Click Run to see output...