问题
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?
回答1:
You may want to try updating the webcam drivers or disabling hardware acceleration in Firefox, as mentioned in this post.
回答2:
The bug is fixed in firefox-29.
来源:https://stackoverflow.com/questions/23251515/firefox-captures-video-noise-from-web-camera