The code in this repo, available here as a live page, demonstrates the functionality of getUserMedia()
for everyday media-related tasks, including:
- Video recording
- Audio recording
- Taking pictures
- Listing available media devices
These examples highlight how getUserMedia() powers essential features in modern web applications, making it a vital tool for working with real-time audio and video in the browser.
- The web page needs to be in a secure context;
- The page must not be under a Permissions Policy that's limiting device access;
- You need to have user permission at the browser level and, in some cases, at the operating system level.