[英]Connect a RTP stream to Kurento Media Server and broadacast using WebRTC
[英]Kurento webRTC streaming server - Chrome issue
我在centos和Node.js上安装了Kurento服务器。 我在使用Chrome浏览器进行流式传输时遇到了一些问题,控制台报告了以下错误:
NavigatorUserMediaError ConstraintsName:“”消息:“仅允许安全来源(请参阅: https : //goo.gl/Y0ZkNV )”。 名称:“ PermissionDeniedError”
该方法捕获错误:
function log(console, level) {
var items = this
var item = document.createElement('li');
var argv = [].slice.call(arguments, 2)
// initialise the item
item.innerHTML = argv.map(renderData).join(' ');
// add the class
item.classList.add(level);
// add to the list
items.appendChild(item);
setTimeout(function() {
items.parentNode.scrollTop = items.offsetHeight;
}, 100);
// pass the call through to the original window console
console[level].apply(console, argv);
};
有人可以帮我解决吗?
根据错误消息,似乎您的Kurento服务器未配置为在HTTPS上运行:
从Chrome 47开始,仅允许安全来源(HTTPS或本地主机)使用WebRTC。
遵循他们的指南 ,使Kurento使用HTTPS协议。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.