WebRTC buttons not doing anything
Hello,
Most likely there is something I am missing, but please can you guide me on how to setup the WebRTC ? When in Direct Message for example, the buttons show up OK, but when I click on them nothing happens. I have checked the browser compatibiliy and settings with the online tool from the Wiki post, everything passed as described (tried on different computers, different browsers)
The Rocket.Chat instance is running behind a firewall; are there any extra ports requirements besides the main app port ?
Any suggestions would be greatly appreciated
Thank you
I have same issues, WebRTC doesnt work..
To be on the safe side, could you join https://demo.rocket.chat and give it a try on our instance? @IQ2022 is your instance also behind a firewall?
I have just tested the demo instance, with username edemos.online and everything works OK. Since you mentioned the demo instance, what driver is it using? The standard one or the webrtc-ib one?
I found the answer ....
740dbe125ddc1d6ed03fd91bbf0e5a15353024b3.js?meteor_js_resource=true:290 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.
740dbe125ddc1d6ed03fd91bbf0e5a15353024b3.js?meteor_js_resource=true:290 NavigatorUserMediaError {}constraintName: ""message: "Only secure origins are allowed (see: https://goo.gl/Y0ZkNV)."name: "PermissionDeniedError"proto: NavigatorUserMediaErrorconstraintName:
Your instance runs on a secure connection while mine is not. I guess this solves the mistery, but I am not sure how this will affect further development of the WebRTC feature of Rocket Chat
While researching further, there seems to be a free alternative to paid SSL, even though in Beta testing, and at this time only available for Apache .... https://letsencrypt.org/ Nginx coming soon, so will have to wait and see
As an update, I managed to install the https://letsencrypt.org/ client on a NGINX server and thus my Rocket.Chat instance runs on a secure site, with WebRTC fully functional. I suppose you can update the Wiki to let others know about the HTTPS requirement and the free workaround (even though still in public beta)
To be done as part of #933
any wiki's on how to enable https (via NGIX) on dockers?
@haceru in the wiki it is told that you need to use https and ssl for the best results!!
@IQ2022 read the wiki in how to install ssl on nginx!
Here it is Docker Ubuntu with Nginx SSL and Hubot
@capensisma I am not a native English speaker, but to my knowledge "best results" is not similar to "only". If you read the WebRTC documentation, it says that it "only" works on https and ssl, not "gives best results"
@haceru bro it works on none http but you will get a lot of problems like the webrtc things or on other things... you can try running it on your localhost and see!
Anyway, anyone should use HTTPS to have a secure app with the best results.
closing in favor of #933 lets track webrtc progress there.