admin管理员组文章数量:1023794
I am using getUserMedia() for video streaming in node.js and angular project(MEAN). My <video>
tag is inside partial file. This project is running smoothly & patible in Google Chrome, Opera and Firefox in local server. But when I am trying to run it over Ubuntu server using Google Chrome (only problem with Chrome), video is not showing.
Error details in console as follows:
(program):84 navigator.getUserMedia error: PermissionDeniedError(error name)
I am using chrome version 47.0.2526.80 .I am using http for this project. I am also getting warning to switching my application to a secure origin, such as HTTPS. Why it is not running properly in Chrome.
I am using getUserMedia() for video streaming in node.js and angular project(MEAN). My <video>
tag is inside partial file. This project is running smoothly & patible in Google Chrome, Opera and Firefox in local server. But when I am trying to run it over Ubuntu server using Google Chrome (only problem with Chrome), video is not showing.
Error details in console as follows:
(program):84 navigator.getUserMedia error: PermissionDeniedError(error name)
I am using chrome version 47.0.2526.80 .I am using http for this project. I am also getting warning to switching my application to a secure origin, such as HTTPS. Why it is not running properly in Chrome.
Share Improve this question edited Dec 14, 2015 at 13:44 Mr Lister 46.6k15 gold badges113 silver badges155 bronze badges asked Dec 9, 2015 at 11:47 RajibRajib 6388 silver badges18 bronze badges 3- ubuntu has its own browser chromium did you check in chromium – Rana Ahmer Yasin Commented Dec 9, 2015 at 11:49
- Be more specific, show your code please. – Jairo Commented Dec 9, 2015 at 11:51
- 1 Deprecated: navigator.getUserMedia: This feature has been removed from the Web standards. Though some browsers may still support it, it is in the process of being dropped. Avoid using it and update existing code if possible; see the patibility table at the bottom of this page to guide your decision. Be aware that this feature may cease to work at any time. @Rajib – Mr doubt Commented Nov 1, 2016 at 12:05
1 Answer
Reset to default 4Google Chrome has stopped supporting getUserMedia()
along with some other features like Geolocation
, Fullscreen
etc. on insecure origins. I think it allows these features for localhost in order to enable testing but they won't work on an actual server.
Here is the related announcement from google:
https://sites.google./a/chromium/dev/Home/chromium-security/deprecating-powerful-features-on-insecure-origins
I am using getUserMedia() for video streaming in node.js and angular project(MEAN). My <video>
tag is inside partial file. This project is running smoothly & patible in Google Chrome, Opera and Firefox in local server. But when I am trying to run it over Ubuntu server using Google Chrome (only problem with Chrome), video is not showing.
Error details in console as follows:
(program):84 navigator.getUserMedia error: PermissionDeniedError(error name)
I am using chrome version 47.0.2526.80 .I am using http for this project. I am also getting warning to switching my application to a secure origin, such as HTTPS. Why it is not running properly in Chrome.
I am using getUserMedia() for video streaming in node.js and angular project(MEAN). My <video>
tag is inside partial file. This project is running smoothly & patible in Google Chrome, Opera and Firefox in local server. But when I am trying to run it over Ubuntu server using Google Chrome (only problem with Chrome), video is not showing.
Error details in console as follows:
(program):84 navigator.getUserMedia error: PermissionDeniedError(error name)
I am using chrome version 47.0.2526.80 .I am using http for this project. I am also getting warning to switching my application to a secure origin, such as HTTPS. Why it is not running properly in Chrome.
Share Improve this question edited Dec 14, 2015 at 13:44 Mr Lister 46.6k15 gold badges113 silver badges155 bronze badges asked Dec 9, 2015 at 11:47 RajibRajib 6388 silver badges18 bronze badges 3- ubuntu has its own browser chromium did you check in chromium – Rana Ahmer Yasin Commented Dec 9, 2015 at 11:49
- Be more specific, show your code please. – Jairo Commented Dec 9, 2015 at 11:51
- 1 Deprecated: navigator.getUserMedia: This feature has been removed from the Web standards. Though some browsers may still support it, it is in the process of being dropped. Avoid using it and update existing code if possible; see the patibility table at the bottom of this page to guide your decision. Be aware that this feature may cease to work at any time. @Rajib – Mr doubt Commented Nov 1, 2016 at 12:05
1 Answer
Reset to default 4Google Chrome has stopped supporting getUserMedia()
along with some other features like Geolocation
, Fullscreen
etc. on insecure origins. I think it allows these features for localhost in order to enable testing but they won't work on an actual server.
Here is the related announcement from google:
https://sites.google./a/chromium/dev/Home/chromium-security/deprecating-powerful-features-on-insecure-origins
本文标签: javascriptWhy getUserMedia() showing permission denied error in chromeStack Overflow
版权声明:本文标题:javascript - Why getUserMedia() showing permission denied error in chrome - Stack Overflow 内容由热心网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://it.en369.cn/questions/1745598259a2158301.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论