node package manager
We need your input. Help make JavaScript better: Take the 2017 JavaScript Ecosystem survey »

getuservideo

getuservideo

returns a that is rendering a users webcam and optionally turns on the microphone.

var videoElement = require('getuservideo')({
    width: 320,
    height: 180,
    autoplay: true
});
 
document.body.appendChild(videoElement);