Failed to get access to local media: audio,vedio when open video conference in Rocket chat
Rocket.Chat Version: 0.55.0-develop Running Instances: localhost DB Replicaset OpLog: Node Version: 4.7.3 - x64
when I set the video conference configuration as the following below, I start jitsi video conference it comes an error:Failed to get access to local media(audio, video), but when I satrt it in an new window, it works fine, how can I fix the problem, I want to start video conference in rocket chat?
[modules/RTC/RTCUtils.js] : Get media constraints Object
2lib-jitsi-meet.min.js:2 [Deprecation] getUserMedia() no longer works on insecure origins. To use this feature, you should consider switching your application to a secure origin, such as HTTPS. See https://goo.gl/rStTGz for more details.
(anonymous) @ lib-jitsi-meet.min.js:2
Logger.js:125 [modules/RTC/RTCUtils.js] <>: Failed to get access to local media. Error NavigatorUserMediaError Object
r @ Logger.js:125
Logger.js:125 [modules/xmpp/strophe.jingle.js] : Configured STUN servers: Array(3)
Logger.js:125 [modules/xmpp/xmpp.js] : Lip-sync enabled !
Logger.js:125 [modules/xmpp/xmpp.js] : (TIME) Strophe connecting: 815.0200000000001
Logger.js:125 [conference.js] <>: failed to create local tracks Array(2)0: "audio"1: "video"length: 2__proto__: Array(0) r
i @ Logger.js:125
Logger.js:125 [modules/RTC/RTCUtils.js] : Get media constraints Object
Logger.js:125 [modules/RTC/RTCUtils.js] <>: Failed to get access to local media. Error NavigatorUserMediaError Object
r @ Logger.js:125
Logger.js:125 [conference.js] <>: failed to create local tracks Array(1) r
i @ Logger.js:125
Logger.js:125 [modules/xmpp/xmpp.js] : (TIME) Strophe connected: 1955.1300000000003
Logger.js:125 [modules/xmpp/xmpp.js] : My Jabber ID: [email protected]/cc401e62-4a22-44f2-9c9a-
@kyle-kai This could be happening because of this https://sites.google.com/a/chromium.org/dev/Home/chromium-security/deprecating-powerful-features-on-insecure-origins
You can see this on the log you sent [Deprecation] getUserMedia() no longer works on insecure origins. To use this feature, you should consider switching your application to a secure origin, such as HTTPS. See https://goo.gl/rStTGz for more details.
Could you test this again with another browser?
Closing due lack of updates.