firefox捕获来自网络摄像头的视频噪音

时间:2014-04-23 17:40:00

标签: javascript firefox webcam webrtc

测试代码:

<!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>

Thisfirefox 28.0捕获的内容。 webcamera是Logitech C210。它在skypechrome中运行良好。计算机正在运行windows 8。此外,它适用于windows 7的其他计算机。提起bug report。有什么想法吗?

2 个答案:

答案 0 :(得分:0)

您可能需要尝试在Firefox中更新网络摄像头驱动程序或禁用硬件加速,如this post中所述。

答案 1 :(得分:0)

该错误已在firefox-29修复。

相关问题