liuzhe02 / bigbluebutton

Automatically exported from code.google.com/p/bigbluebutton
0 stars 0 forks source link

WebRTC config popup doesn't open on https/tls #1941

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
When running BBB on https, the config popup for WebRTC doesn't open.
On the front end, it tries to connect to ws://vc3.example.com/ws which is 
blocked on TLS.
It needs to connect to wss://vc3.example.com/ws

If someone sees this who knows the location where to fix the code, an immediate 
response would be great, since we have a release issue here (tests on QA 
servers were fine on http....)

Thanks!

Jan

Original issue reported on code.google.com by JanKrohn...@gmail.com on 12 May 2015 at 11:12

GoogleCodeExporter commented 8 years ago
Hi Jan,

Try editing the file

  /var/www/bigbluebutton/client/lib/bbb_webrtc_bridge_sip.js

and change the line 162

        var configuration = {
                uri: 'sip:' + encodeURIComponent(username) + '@' + server,
                wsServers: 'ws://' + server + '/ws',
                displayName: username,
                register: false,

In the future, please post configuration questions to bigbluebutton-setup

  https://groups.google.com/forum/#!forum/bigbluebutton-setup

If in helping you in the forums we find an error, we'll open an issue here.

Original comment by ffdixon@gmail.com on 12 May 2015 at 11:45