*** id: 54377e92-adda-4c29-b4bc-13329fb9c906 title: WebRTC description: Technical reference for the WebRTC namespace slug: /js/reference/webrtc position: 0 sidebar-title: Overview max-toc-depth: 3 ---------------- The WebRTC namespace includes functions that give you access to the input and output media devices available on the user's machine. For example, you can use these functions to request permission and get access to the media stream from a webcam, from a microphone, or from a screen sharing. ## Functions Check camera permission status Check microphone permission status Check permission status for any resource Check speaker permission status Watch for camera device changes Watch for device changes Track microphone input volume Watch for microphone device changes Watch for speaker device changes List available media devices Get accessible camera devices Get available media devices Capture a screen or window Get accessible microphone devices Get accessible speaker devices Get browser-supported media constraints Request access to camera or microphone Prompt user for device permissions Set audio output device for an element Stop all tracks in a stream Stop a single media track Check getDisplayMedia support Check getUserMedia support Check media devices API support Check media output selection support *Get camera devices (deprecated)* *Get devices with permissions prompt (deprecated)* *Get microphone devices (deprecated)* *Get speaker devices (deprecated)*