firefox captures video noise from web camera

主宰稳场 提交于 2019-12-13 04:41:25

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!