🚀 Socket Launch Week Day 5:Introducing Repository Access Permissions and Custom Roles.Learn more
Sign In

@virtualscenery/greenscreenstream

Package Overview
Dependencies
Maintainers
2
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@virtualscenery/greenscreenstream

Genereate new MediaStreams or Canvas elements based on MediaStreams (webcam) with any background image/video. Greenscreen your webcam and enable virtual backgrounds in your web applications.

latest
Source
npmnpm
Version
3.2.0
Version published
Weekly downloads
115
505.26%
Maintainers
2
Weekly downloads
 
Created
Source

About

GreenScreenStream offers robust options for real-time manipulation of MediaStreams, enabling you to generate dynamic video backgrounds with ease. It's designed to help you create captivating virtual backgrounds for WebRTC applications, live streams, and other interactive experiences.

This library allows you to effortlessly generate a new MediaStream for your canvas and video elements, dynamically compositing a MediaStreamTrack (e.g., from a webcam) with any background image or video, all powered by pure JavaScript.

All rendering is performed in real-time, leveraging the high performance of WebGL2 pixel shaders (GLSL), with optional machine learning (ML) models for advanced features like intelligent person segmentation, ensuring stunning visual quality and seamless integration.

Install

To add GreenScreenStream to your project, use npm:

Bash

    npm i @virtualscenery/greenscreenstream

Keywords

mediastream

FAQs

Package last updated on 01 Jun 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts