[英]getUserMedia permission denied after clicking the “allow” button
I'm trying to use the navigator.getUserMedia()
and as expected on my webpage (or for example https://apprtc.appspot.com/ ) I'm asked to allow or deny access to my webcam/microphone. 我尝试使用
navigator.getUserMedia()
并按我的网页上的预期(或例如https://apprtc.appspot.com/ ),要求我允许或拒绝对我的网络摄像头/麦克风的访问。
But after I click "allow" nothing happens and on my log I can see: 但是,在单击“允许”之后,什么都没有发生,并且在我的日志中,我可以看到:
NavigatorUserMediaError {code: 1, PERMISSION_DENIED: 1}
I'm on Ubuntu 12.04 and tried on Chromium 24.0.1312.56, Chrome 24 and beta 25 and Firefox 18.0.2. 我使用的是Ubuntu 12.04,并尝试使用了Chromium 24.0.1312.56,Chrome 24和beta 25和Firefox 18.0.2。 Same problem everywhere.
到处都是同样的问题。
I can access my webcam on webpages using Flash like here http://www.xarg.org/project/jquery-webcam-plugin/ 我可以使用Flash来访问网页上的网络摄像头,例如http://www.xarg.org/project/jquery-webcam-plugin/
Any idea what is the problem? 知道是什么问题吗?
I changed the webcam and it's working. 我更改了摄像头,并且可以正常工作。 So apparently Microsoft Lifecam VX-7000 doesn't work on Ubuntu 12.04 with
navigator.getUserMedia
because this cam works on Windows 7 (at least with Chrome). 因此,显然Microsoft Lifecam VX-7000在带
navigator.getUserMedia
Ubuntu 12.04上不起作用,因为该凸轮在Windows 7上(至少在Chrome上)有效。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.