.90 Beta and WebRTC Popup

149 views
Skip to first unread message

Rick Smith

unread,
Mar 27, 2015, 3:24:53 PM3/27/15
to bigbluebu...@googlegroups.com
I have tried and tried to get WEBrtc up and running but for whatever reason I cannot get it working.

Unfortunately when I use bbb-conf --disablewebrtc the webRTC popup still remains when users log in.

I found a file to disable this in last week but I cannot remember which file it is.

I want to just use Flash now and no WebRTC and have no pop-up for the WEBrtc failure prompt.

Can anyone tell me which file to disable this in?  I seem to remember a field I changed from true to false to stop it from giving the prompt.

Thanks,

Rick Smith

Fred Dixon

unread,
Mar 27, 2015, 3:34:45 PM3/27/15
to bigbluebu...@googlegroups.com
Hi Rick,

> I have tried and tried to get WEBrtc up and running but for whatever reason I cannot get it working.

Can you do a quick test with


and let us know if it works for you there (use FireFox or Chrome).

Regards,... Fred


--
You received this message because you are subscribed to the Google Groups "BigBlueButton-Setup" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bigbluebutton-s...@googlegroups.com.
To post to this group, send email to bigbluebu...@googlegroups.com.
Visit this group at http://groups.google.com/group/bigbluebutton-setup.
For more options, visit https://groups.google.com/d/optout.



--
BigBlueButton Developer
BigBlueButton on twitter: @bigbluebutton

Rick Smith

unread,
Mar 27, 2015, 4:09:20 PM3/27/15
to bigbluebu...@googlegroups.com
It works fine on the demo.
I have had some serious challenges with this server.  It is directly on the Internet with a single ethernet interface.  The local iptables firewall is what I use for security.

I have everything set up to use the external IP's and the system is set for a FQDN with --setip

For some reason when I use bbb-conf --enablewebrtc it breaks everything and I have to set things up again.  Not sure why as I thought this just commented out/uncommented a single line.


On Friday, March 27, 2015 at 2:34:45 PM UTC-5, Fred Dixon wrote:
Hi Rick,

> I have tried and tried to get WEBrtc up and running but for whatever reason I cannot get it working.

Can you do a quick test with


and let us know if it works for you there (use FireFox or Chrome).

Regards,... Fred

On Fri, Mar 27, 2015 at 3:24 PM, Rick Smith <dred...@gmail.com> wrote:
I have tried and tried to get WEBrtc up and running but for whatever reason I cannot get it working.

Unfortunately when I use bbb-conf --disablewebrtc the webRTC popup still remains when users log in.

I found a file to disable this in last week but I cannot remember which file it is.

I want to just use Flash now and no WebRTC and have no pop-up for the WEBrtc failure prompt.

Can anyone tell me which file to disable this in?  I seem to remember a field I changed from true to false to stop it from giving the prompt.

Thanks,

Rick Smith

--
You received this message because you are subscribed to the Google Groups "BigBlueButton-Setup" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bigbluebutton-setup+unsub...@googlegroups.com.

To post to this group, send email to bigbluebu...@googlegroups.com.
Visit this group at http://groups.google.com/group/bigbluebutton-setup.
For more options, visit https://groups.google.com/d/optout.

Rick Smith

unread,
Mar 27, 2015, 4:14:49 PM3/27/15
to bigbluebu...@googlegroups.com
Also, I just re-enabled webRTC and it is giving a 1004 error.  Is there a log I can look at?

Fred Dixon

unread,
Mar 27, 2015, 4:17:42 PM3/27/15
to bigbluebu...@googlegroups.com
Hi Rick,

To see what

  sudo bbb-conf --enablewebrtc

does, see


Regards,... Fred


To unsubscribe from this group and stop receiving emails from it, send an email to bigbluebutton-s...@googlegroups.com.

To post to this group, send email to bigbluebu...@googlegroups.com.
Visit this group at http://groups.google.com/group/bigbluebutton-setup.
For more options, visit https://groups.google.com/d/optout.

Chad Pilkey

unread,
Mar 27, 2015, 4:19:23 PM3/27/15
to bigbluebu...@googlegroups.com
The browser console will tell you more about why the call is failing. Pressing F12 should open the developer tools and from there go to the Console. Try and join the audio and you can follow the logic in the console. If you can't find the error cause paste the log into pastebin.com and link it back here and someone can look through it.

Fred Dixon

unread,
Mar 27, 2015, 4:19:31 PM3/27/15
to bigbluebu...@googlegroups.com
Hi Rick,

See


You can also post the output of your JavaScript Console when joining the audio. 


Regards,... Fred

To unsubscribe from this group and stop receiving emails from it, send an email to bigbluebutton-s...@googlegroups.com.

To post to this group, send email to bigbluebu...@googlegroups.com.
Visit this group at http://groups.google.com/group/bigbluebutton-setup.
For more options, visit https://groups.google.com/d/optout.

Rick Smith

unread,
Mar 27, 2015, 4:21:31 PM3/27/15
to bigbluebu...@googlegroups.com
http://pastebin.com/raw.php?i=bmFMprqW

This is the console output from Firefox.
To unsubscribe from this group and stop receiving emails from it, send an email to bigbluebutton-setup+unsubscribe...@googlegroups.com.

To post to this group, send email to bigbluebu...@googlegroups.com.
Visit this group at http://groups.google.com/group/bigbluebutton-setup.
For more options, visit https://groups.google.com/d/optout.



--
BigBlueButton Developer
BigBlueButton on twitter: @bigbluebutton

--
You received this message because you are subscribed to the Google Groups "BigBlueButton-Setup" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bigbluebutton-setup+unsub...@googlegroups.com.
To post to this group, send email to bigbluebu...@googlegroups.com.
Visit this group at http://groups.google.com/group/bigbluebutton-setup.
For more options, visit https://groups.google.com/d/optout.

Chad Pilkey

unread,
Mar 27, 2015, 5:18:16 PM3/27/15
to bigbluebu...@googlegroups.com
It looks like the issue is the websocket connection. Try allowing communication on port 5066

Rick Smith

unread,
Mar 27, 2015, 6:36:45 PM3/27/15
to bigbluebu...@googlegroups.com
I am allowing it.

Here's the netstat:

Proto Recv-Q Send-Q Local Address           Foreign Address         State       PID/Program name
tcp        0      0 0.0.0.0:22              0.0.0.0:*               LISTEN      736/sshd
tcp        0      0 207.114.131.243:5090    0.0.0.0:*               LISTEN      6728/freeswitch
tcp        0      0 127.0.0.1:8100          0.0.0.0:*               LISTEN      7043/soffice.bin
tcp        0      0 207.114.131.243:5060    0.0.0.0:*               LISTEN      6728/freeswitch
tcp        0      0 207.114.131.243:5066    0.0.0.0:*               LISTEN      6728/freeswitch
tcp        0      0 127.0.0.1:6379          0.0.0.0:*               LISTEN      913/redis-server 12
tcp        0      0 0.0.0.0:80              0.0.0.0:*               LISTEN      7957/nginx
tcp        0      0 0.0.0.0:10000           0.0.0.0:*               LISTEN      1294/perl
tcp        0      0 127.0.0.1:8021          0.0.0.0:*               LISTEN      6728/freeswitch
tcp6       0      0 :::22                   :::*                    LISTEN      736/sshd
tcp6       0      0 :::5080                 :::*                    LISTEN      6874/java
tcp6       0      0 ::1:5090                :::*                    LISTEN      6728/freeswitch
tcp6       0      0 :::9123                 :::*                    LISTEN      6874/java
tcp6       0      0 ::1:5060                :::*                    LISTEN      6728/freeswitch
tcp6       0      0 127.0.0.1:8005          :::*                    LISTEN      6967/java
tcp6       0      0 :::5070                 :::*                    LISTEN      6874/java
tcp6       0      0 :::9998                 :::*                    LISTEN      6874/java
tcp6       0      0 :::1935                 :::*                    LISTEN      6874/java
tcp6       0      0 :::9999                 :::*                    LISTEN      6874/java
tcp6       0      0 :::80                   :::*                    LISTEN      7957/nginx
tcp6       0      0 :::8080                 :::*                    LISTEN      6967/java
tcp6       0      0 :::8081                 :::*                    LISTEN      6874/java
udp        0      0 207.114.131.243:5060    0.0.0.0:*                           6728/freeswitch
udp        0      0 207.114.131.243:5090    0.0.0.0:*                           6728/freeswitch
udp        0      0 0.0.0.0:10000           0.0.0.0:*                           1294/perl
udp6       0      0 ::1:5060                :::*                                6728/freeswitch
udp6       0      0 :::5070                 :::*                                6874/java
udp6       0      0 ::1:5090                :::*                                6728/freeswitch


The firewall on the machine is turned off.

Chad Pilkey

unread,
Mar 27, 2015, 7:02:13 PM3/27/15
to bigbluebu...@googlegroups.com
I just tried your server and I could join the echo test fine with WebRTC. When BBB tried to transfer the call to the actual conference the transfer timed out unfortunately (not the error in your log). I increased the transfer timeout from 3 seconds to 5 seconds in one of my recent commits and that might fix the transfer issue.

Normally I would suggest that it's maybe a configuration issue with your local computer, but if demo.bigbluebutton.org is working fine for you then that's probably not the cause.

Fred Dixon

unread,
Mar 27, 2015, 7:15:30 PM3/27/15
to bigbluebu...@googlegroups.com
Hi Rick,

Our http://demo.bigbluebutton.org/ server is running the latest build. You can also update your server to this build as well.  

See



Regards,... Fred

To unsubscribe from this group and stop receiving emails from it, send an email to bigbluebutton-s...@googlegroups.com.

To post to this group, send email to bigbluebu...@googlegroups.com.
Visit this group at http://groups.google.com/group/bigbluebutton-setup.
For more options, visit https://groups.google.com/d/optout.
Message has been deleted

Rick Smith

unread,
Mar 31, 2015, 1:47:32 PM3/31/15
to bigbluebu...@googlegroups.com
I updated to latest beta and and working on this again.  I am having some really strange results.

For one, the demo meeting site WORKS.  Fires right up and I get in immediately just like the demo.bigbluebutton.org site.

No issue with webRTC at all.  

However, using the API (not demo site) I receive a 1004 error from webRTC and even flash will not work (I select the right microphone but the Media column never shows a mic.
For flash it gets all the way through the audio test and connects but no mic icon.

Any ideas?

Rick



That being said, when I go in through the API it does not work.

Chad Pilkey

unread,
Mar 31, 2015, 1:57:15 PM3/31/15
to bigbluebu...@googlegroups.com
The demos (demo1.jsp, demo2.jsp, etc) enter the meetings through the same API calls that front-ends use (create, join). If audio isn't working I would guess that you are either not passing a voiceBridge parameter on the create call or your value is invalid. The number should be five digits and start with a '7'.

You can also use the Mconf API Mate to help check your generated URLs. http://mconf.github.io/api-mate/

Rick Smith

unread,
Mar 31, 2015, 5:46:38 PM3/31/15
to bigbluebu...@googlegroups.com
Well, I think I have it.

I started over from scratch.  Used --setip to change to our FQDN.

However we use a longer meeting ID/voicebridge in our set up.

So I had to modify bbb_echo_test.xml and bbb_conference.xml in /opt/freeswitch/conf/dialplan/default to allow for a PIN of over 5 digits.

What we are doing is providing outside access via dialin to our BBB.  In order to not have everyone in the world be able to access our systems we only allow access in from our 3 dial-in numbers from our provider (via dialplan and UFW).

Then we also compute if the entered PIN is valid (only asking once for PIN).  It is a math/substitution formula that is very simple.  When we send out invites we use the same formula as in the dialplan based on a random seed for the first X digits and the math for the last X digits.

This solved the 2 pin prompt issue but obviously does not solve the problem where a pin can be used again and again.

Thanks for the help guys.  I suspect that the problem was related to me modifying too many files to try and figure out the issue and the fact that the bbb_echo_test.xml only used 5 digits when in fact my voicebridge I set up via API was 7.

Rick
Reply all
Reply to author
Forward
0 new messages