http
HTTP/1.1 200 OK
Content-Type: text/html
Permissions-Policy: display-capture=(self), camera=(self), microphone=(self)
<!DOCTYPE html>
<html>
<head><title>Video Meeting</title></head>
<body>
<button id="share">Share Screen</button>
<script>
document.getElementById('share').addEventListener('click', async () => {
const stream = await navigator.mediaDevices.getDisplayMedia({
video: true,
audio: true
});
// Send stream to peers
});
</script>
</body>
</html>