The test code:
<!doctype html>
<html>
<body>
<video id="v1" autoplay="autoplay"></video>
<script>
navigator._getUserMedia = navigator.getUserMedia || navigator.webkitGetUserMedia || navigator.mozGetUserMedia;
navigator._getUserMedia({video: true}, function(stream) {
document.getElementById('v1').src = URL.createObjectURL(stream);
}, function() {});
</script>
</body>
</html>
This is what firefox 28.0
captures. The webcamera is Logitech C210
. It works fine in skype
and chrome
. The computer is running windows 8
. Also, it works on other computer with windows 7
. Filed a bug report. Any thoughts?
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…