我正在使用来自Sinch的示例视频JS,并且gUM拒绝使用不安全来源的相机和麦克风。我继续让我的客户购买SSL证书,以便视频/麦克风在浏览器上工作。但是,这是我得到的错误。 有什么工作,因为我已经让他们购买ssl。
以下是控制台错误: -
sinch.min.js:5 Error retrieving media stream NavigatorUserMediaErrorconstraintName: ""message: "Only secure origins are allowed ."name: "PermissionDeniedError"__proto__: NavigatorUserMediaErrorconstraintName: (...)get constraintName: ()arguments: nullcaller: nulllength: 0name: ""__proto__: ()<function scope>constructor: NavigatorUserMediaError()arguments: nullcaller: nulllength: 0name: "NavigatorUserMediaError"prototype: NavigatorUserMediaError__proto__: ()<function scope>message: (...)get message: ()name: (...)get name: ()Symbol(Symbol.toStringTag): "NavigatorUserMediaError"__proto__: Object(anonymous function) @ sinch.min.js:5
sinch.min.js:2 XHR finished loading: GET "http://ps15.pubnub.com/time/0?uuid=0eae9a07-d6f6-4ef3-82db-b8d93713a660&pnsdk=PubNub-JS-Web%2F3.7.2".l @ sinch.min.js:2k @ sinch.min.js:2PN_API.la.time @ sinch.min.js:1s @ sinch.min.js:1
答案 0 :(得分:0)
没有内置于chrome,无法绕过那个