All specs
W3C Media CaptureW3CMust KnowProduct

Media Capture and Streams

Device Access & Sensors·World Wide Web Consortium
WHY YOU NEED THIS

Required for video calls, audio recording, photo capture, barcode scanning, and AR experiences. Understanding constraints, track lifecycle (enabled, muted, ended), and device enumeration prevents broken camera/mic UX.

What It Defines

Defines navigator.mediaDevices.getUserMedia() for accessing camera and microphone, and the MediaStream/MediaStreamTrack interfaces. Constraints specify resolution, frame rate, facing mode, echo cancellation, and device selection. Also defines enumerateDevices() for listing available media devices.

Canonical (Normative)

Convenient (Practical)

cameramicrophonemediastreamgetUserMediadevice-accessbrowser
Standards Body
World Wide Web Consortium

Publishes web platform specs including CSS, accessibility, security policies, Service Workers, Web App Manifest, and many browser APIs. Also maintains some versioned HTML/DOM specs.

Visit

Related Specs

W3C PermissionsW3CMust Know

Permissions

The gating mechanism for every sensitive browser API. Check permission state before requesting access to avoid unexpected prompt dialogs. The change event lets you react when users revoke permissions in browser settings.

ProductDevice Access & Sensors
Details
W3C MediaRecorderW3CShould Know

MediaRecorder

Required for voice memos, video recording, screen recording tools, and any app that captures media. Understanding chunk-based recording (timeslice parameter) enables real-time upload during recording.

ProductDevice Access & Sensors
Details
W3C Screen CaptureW3CShould Know

Screen Capture

Required for screen sharing in video calls, screen recording tools, and remote support apps. Understanding the user-driven selection (browser shows picker) and tab audio capture enables proper UX.

ProductDevice Access & Sensors
Details
W3C WebRTCW3CShould Know

WebRTC

Video calls (Meet, Zoom web), voice calls, peer-to-peer file transfer, and collaborative tools. The browser API surface for real-time A/V communication.

ProductWebRTC
Details