Getting started

Examples

Software

Code samples

Requesting camera access


    navigator.webkitGetUserMedia({
        audio: false,
        video: true
    }, function(stream) {
        window.stream = stream;  // Just so we can inspect it in the console
        var video = document.getElementById('video-gum-demo');
        video.src = window.URL.createObjectURL(stream);
        video.play();
    });
                    

Credits