getUserMedia() Replacement - Chrome Extension

getUserMedia() Replacement - Chrome Extension

Replaces getUserMedia() with clock, video file, and background masking options.

3.4
Rating
7
Reviews
627
Visits/mo

Screenshots

getUserMedia() Replacement - Chrome Extension screenshot

Overview

This Chrome extension serves as a replacement for the getUserMedia() API, giving developers a reliable alternative for accessing camera and microphone data. It offers several practical input modes, including a built-in clock display, video file playback, and background masking capabilities. This is particularly valuable for testing web applications in environments where real camera hardware isn't available, or when developers need to simulate different video sources for debugging. The extension bridges the gap between development needs and hardware limitations, making it a practical tool for web developers and QA testers working with media-heavy applications.

How to Use

The tool intercepts calls to getUserMedia() and provides alternative video sources such as a clock, a video file, or a masked video stream using tfjs/body-pix. Specific instructions for implementation and configuration would depend on the specific library or implementation being used.

Core Features

Replaces getUserMedia() functionality Provides clock as a video source Provides video file as a video source Enables background masking using tfjs/body-pix

Use Cases

  1. 1 Virtual meetings with custom backgrounds
  2. 2 Creating video demonstrations using pre-recorded content
  3. 3 Adding a clock overlay to a video stream
  4. 4 Privacy-focused video conferencing with background removal

Frequently Asked Questions

What is the purpose of replacing getUserMedia()?
It lets sites that request camera access work without a real webcam, by providing a clock, a video file, or a masked background instead.
What is tfjs/body-pix used for?
TensorFlow.js BodyPix performs real-time background segmentation, letting the extension mask or replace your background while your camera still feeds the page.