0
我在centos和Node.js上安裝了Kurento服務器。我現在面臨的一些問題與Chrome瀏覽器的流,控制檯報告以下錯誤:Kurento webRTC流媒體服務器 - Chrome問題
NavigatorUserMediaError constraintName: "" message: "Only secure origins are allowed (see: https://goo.gl/Y0ZkNV)." name: "PermissionDeniedError"
捕獲錯誤時的int值方法:
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);
};
有人可以幫我解決?