getUserMedia not working on Chrome v50.0.2661.86
<p>I'm trying to use the getUserMedia method to access my webcam and track my face with clmtrackr (<a href="https://github.com/auduno/clmtrackr" rel="nofollow">https://github.com/auduno/clmtrackr</a>).
Some weeks ago it was working but since Chrome update to v50 I encounter issues, it uses the replacement video instead of calling my webcam.</p>

<pre><code>navigator.getUserMedia = navigator.getUserMedia || navigator.webkitGetUserMedia || navigator.mozGetUserMedia || navigator.msGetUserMedia;

// check for camerasupport
if (navigator.getUserMedia) {

    var videoSelector = {video : true};
    if (window.navigator.appVersion.match(/Chrome\/(.*?) /)) {
        var chromeVersion = parseInt(window.navigator.appVersion.match(/Chrome\/(\d+)\./)[1], 10);
        if (chromeVersion &lt; 20) {
            videoSelector = "video";
        }
    };

    navigator.getUserMedia(videoSelector, function( stream ) {
        if (video.mozCaptureStream) {
            video.mozSrcObject = stream;
        } else {
            video.src = (window.URL &amp;&amp; window.URL.createObjectURL(stream)) || stream;
        }

        video.play();
    }, function() {
        //it uses this alt video
        insertAltVideo(video);
        alert("There was some problem trying to fetch video from your webcam, using a fallback video instead.");
    });
} else {
    insertAltVideo(video);
    alert("Your browser does not seem to support getUserMedia, using a fallback video instead.");
}
</code></pre>

<p>PS : It works as I want on Firefox</p>

<p>Thanks in advance</p>