简体   繁体   English

HTTPs网站上的Sinch gUM错误

[英]Sinch gUM error on HTTPs website

I am using a sample Video JS from Sinch and the gUM refused to work with camera and microphone on insecure origin. 我正在使用Sinch的示例Video JS,而gUM拒绝在不安全的来源上使用相机和麦克风。 I went on to get my client to purchase SSL certificate so that the Video/Microphone work on the browser. 我继续让我的客户购买SSL证书,以便视频/麦克风可以在浏览器上工作。 However, this is the error I get. 但是,这是我得到的错误。 Is there any work around as I already got them to purchase ssl. 有什么解决办法,因为我已经让他们购买了ssl。

Here is the console error :- 这是控制台错误:-

 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 

没有内置于Chrome的内容,无法解决该问题

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM