manual WebRTC setting?

283 views
Skip to first unread message

david bodily

unread,
Sep 10, 2014, 10:13:40 AM9/10/14
to bigblueb...@googlegroups.com
again with the caveat that i purged 0.81 and installed 0.9.0:

i need to disable WebRTC, but the bbb-conf command is not doing that for me.  where can i find that in a configuration?

my test with Internet Explorer works -- the flash audio works.  and the mic test is BRILLIANT.

in both chrome and firefox:
1. option for mic or listen only (brilliant, by the way)
2. the option to share the mic (also VERY brilliant to show the user the browser setting)
3. audio test is stuck at "connecting" with scrolling dots

i have used --disablewebrtc multiple times and had the prompt to --clean but the resulting --check continues to say webrtc is enabled.  where can i manually disable that?

Richard Alam

unread,
Sep 10, 2014, 10:21:04 AM9/10/14
to BigBlueButton-dev
Should be in your config.xml. Set useWebRTCIfAvailable="true" to false.


Richard

 

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



--
-----
BigBlueButton Developer
http://www.bigbluebutton.org
http://code.google.com/p/bigbluebutton

david bodily

unread,
Sep 10, 2014, 11:55:47 AM9/10/14
to bigblueb...@googlegroups.com
interesting -- that setting is not in the client config file.  i know bbb-conf is working SOMEPLACE because i set the IP and the secret with it.  it also reports success changing the webrtc setting, but that setting is absent from my client config file.  that is the file we're talking about, yes?

Richard Alam

unread,
Sep 10, 2014, 12:04:32 PM9/10/14
to BigBlueButton-dev
On Wed, Sep 10, 2014 at 11:55 AM, david bodily <kdavid...@gmail.com> wrote:
interesting -- that setting is not in the client config file.  i know bbb-conf is working SOMEPLACE because i set the IP and the secret with it.  it also reports success changing the webrtc setting, but that setting is absent from my client config file.  that is the file we're talking about, yes?


Yes, it should be in /var/www/bigbluebutton/client/conf/config.xml in a prod setup.

Richard

david bodily

unread,
Sep 10, 2014, 12:42:15 PM9/10/14
to bigblueb...@googlegroups.com
i'm able to change the setting manually, but after doing multiple changes, --clean restarts, and --checks, bbb-conf is not setting it . . . is that known or is that my problem here?

HostBBB.com

unread,
Sep 11, 2014, 6:09:34 AM9/11/14
to bigblueb...@googlegroups.com
David, do you have the development client on server as well?  If that is the case the config.xml exists on original client, and in the dev directory.     Make sure your changing the right one.

Also,  the config.xml is loaded when meeting is created,  so try a new meeting from demo menu to make sure you get the changed config.xml loaded in the client.

regards,
Stephen


On Wednesday, September 10, 2014 12:42:15 PM UTC-4, david bodily wrote:

david bodily

unread,
Sep 11, 2014, 9:04:53 AM9/11/14
to bigblueb...@googlegroups.com
thanks, Stephen,

i didn't do dev on this system but i did get tripped up by what you describe earlier on a different one.  i have been able to change other settings like setting the IP and secret, so this is a mystery if adjusting the WebRTC setting works out of the box. 

the back story is this server was running 10.04 and 0.81 then the OS was inadvertently upgraded to 14.04 which broke BBB.  my fight was uninstalling the old BBB and getting 0.9.0 beta running and i'm not exactly winning that fight at this moment but i'm going to keep it up for a bit.  i'm wondering if i have some permission settings mis-matched on some component. 

the other issue is i'm needing to confirm BBB is responding to the setting even if i set it manually.  flash audio is working on IE, but the client hangs at "connecting" in the audio test box for both chrome and firefox from multiple locations.  --check reflects the setting but i'm not convinced the clients aren't attempting the WebRTC connection.  do you know where i can look to see what's being or has been attempted?  that connection attempt doesn't appear to time out, either . . .

thanks again,
david

HostBBB.com

unread,
Sep 11, 2014, 9:39:12 AM9/11/14
to bigblueb...@googlegroups.com
try from client dos shell, or mac terminal.

telnet yourbbbserver.com 5066 and see if you connect to websockets from you client pc.

If it does not connect that is most likely a firewall issue

regards,
Stephen

Richard Alam

unread,
Sep 11, 2014, 9:57:10 AM9/11/14
to BigBlueButton-dev
On Wed, Sep 10, 2014 at 12:42 PM, david bodily <kdavid...@gmail.com> wrote:
i'm able to change the setting manually, but after doing multiple changes, --clean restarts, and --checks, bbb-conf is not setting it . . . is that known or is that my problem here?


Just to be sure I understand.

You have made the changes to /var/www/bigbluebutton/client/conf/config.xml and did a --clean but the config.xml reverts back to the old value? Or it's just not loading the new config.xml?

When making changes to config.xml, tomcat7 at least needs to be restarted as tomcat7 caches the old config.xml. But it's recommended to --restart to make sure everything is initialized correctly.

Are you able to load the config.xml straight from the browser with the right values?

Richard
 

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

Chad Pilkey

unread,
Sep 11, 2014, 11:18:59 AM9/11/14
to bigblueb...@googlegroups.com
You can see the status of the WebRTC calls by looking at the JavaScript console in Firefox or Chrome (F12 should show it). If you're getting stuck at "Connecting.." you'll likely see that 5066 is unreachable.


On Thursday, September 11, 2014 9:04:53 AM UTC-4, david bodily wrote:

david bodily

unread,
Sep 11, 2014, 12:20:38 PM9/11/14
to bigblueb...@googlegroups.com
Thanks for the reply, Richard,

i have purged very carefully and re-installed.  the demo api is running (http://vista.wwcc.wy.edu) and config.xml is loadable (http://vista.wwcc.wy.edu/client/conf/config.xml) from the browser. 

i'm going to re-check this, but here is what i experiences very repeatably:

1. --check reports WebRTC enabled
2. --disablewebrtc executes without error
3. --check reports WebRTC enabled after --clean
4. --manually ADD and then edit the variable to disabled
5. --check reports disabled after --clean
6. --enablewebrtc executes without error
7. --check reports DISABLED after --clean

leading me to believe that bbb-conf is not changing the setting.  --check after --clean consistently reports the manual changes to config.xml

my latest purge and re-install showed this at the console and i was going to investigate it:  "adduser: Warning: The home directory `/opt/freeswitch' does not belong to the user you are currently creating."

david bodily

unread,
Sep 11, 2014, 12:34:52 PM9/11/14
to bigblueb...@googlegroups.com
i'm highly suspicious this is the problem with WebRTC and THANKS for that response.  now i just need to figure out why my efforts to disable the feature are not working . . .

HostBBB.com

unread,
Sep 11, 2014, 12:41:36 PM9/11/14
to bigblueb...@googlegroups.com
telnet vista.wwcc.wy.edu 5066 fails. the port is not open or freeswitch is not running ws.


regards,
Stephen

david bodily

unread,
Sep 11, 2014, 1:33:14 PM9/11/14
to bigblueb...@googlegroups.com
i confirmed this with the javascript console.  output from --check says i've disabled webrtc . . . after --restart.  anyone wonder why is my setting not being enacted?  is there something in this --check output i'm misinterpreting?
------------------------------------------
/var/www/bigbluebutton/client/conf/config.xml (bbb-client)
                Port test (tunnel): vista.wwcc.wy.edu
                              Red5: vista.wwcc.wy.edu
              useWebrtcIfAvailable: false
true

/opt/freeswitch/conf/sip_profiles/external.xml (FreeSWITCH)
                    websocket port: 5066
                    WebRTC enabled: false
true

--------------------------------------------------------------------------------------------

Richard Alam

unread,
Sep 11, 2014, 6:40:50 PM9/11/14
to BigBlueButton-dev
On Thu, Sep 11, 2014 at 1:33 PM, david bodily <kdavid...@gmail.com> wrote:
i confirmed this with the javascript console.  output from --check says i've disabled webrtc . . . after --restart.  anyone wonder why is my setting not being enacted?  is there something in this --check output i'm misinterpreting?
------------------------------------------
/var/www/bigbluebutton/client/conf/config.xml (bbb-client)
                Port test (tunnel): vista.wwcc.wy.edu
                              Red5: vista.wwcc.wy.edu
              useWebrtcIfAvailable: false
true

/opt/freeswitch/conf/sip_profiles/external.xml (FreeSWITCH)
                    websocket port: 5066
                    WebRTC enabled: false
true

The setting in config.xml affect only the browser. It basically says that if "false" then if the browser is FF or Chrome not to use WebRTC but Flash to join the voice conference.

The bbb-conf script is used to configure server side to make webrtc work.

So if you change the config.xml to use webrtc and haven't configured webrtc on the server side, then users won't be able to join the voice conference using webrtc.

However, if you have configured the server side for webrtc but set config.xml to false, the client will skip webrtc and use flash directly. So the server side doesn't have any effect.

Richard

 

--------------------------------------------------------------------------------------------


On Thursday, September 11, 2014 10:41:36 AM UTC-6, HostBBB.com wrote:
telnet vista.wwcc.wy.edu 5066 fails. the port is not open or freeswitch is not running ws.


regards,
Stephen


On Thursday, September 11, 2014 12:34:52 PM UTC-4, david bodily wrote:
i'm highly suspicious this is the problem with WebRTC and THANKS for that response.  now i just need to figure out why my efforts to disable the feature are not working . . .

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

david bodily

unread,
Sep 14, 2014, 11:26:42 PM9/14/14
to bigblueb...@googlegroups.com
Richard,

many thanks for your responses.  i understand these differences but i don't understand what i'm seeing.  i also understand this may be more a config question than a dev question . . . so let me know if i need to ask elsewhere?

first:  whether i enable or disable webrtc on the server side (the bbb-conf commands report execution without error), after a --clean restart, --check reports this:

---------------------------------------
/var/www/bigbluebutton/client/conf/config.xml (bbb-client)
                Port test (tunnel): vista.wwcc.wy.edu
                              Red5: vista.wwcc.wy.edu
              useWebrtcIfAvailable: true


/opt/freeswitch/conf/sip_profiles/external.xml (FreeSWITCH)
                    websocket port: 5066
                    WebRTC enabled: true
----------------------------------------------
the indication is that the --enable/--disable commands do not alter the freeswitch config file -- is that correct?  which would imply that --check does not report the server-side status of WebRTC?

second:  can you verify that this line:  <useWebrtcIfAvailable = "false"/>  is syntactically correct to place in the client config file?  i ask because when i --clean with this line in that file, i get this output:

-------------------------------------
/var/www/bigbluebutton/client/conf/config.xml (bbb-client)
                Port test (tunnel): vista.wwcc.wy.edu
                              Red5: vista.wwcc.wy.edu
              useWebrtcIfAvailable: false
true

/opt/freeswitch/conf/sip_profiles/external.xml (FreeSWITCH)
                    websocket port: 5066
                    WebRTC enabled: false
true
-------------------------------------
and despite that output, the client still attempts to use WebRTC for audio, according to the javascript console. 

thanks,
david

david bodily

unread,
Sep 14, 2014, 11:35:50 PM9/14/14
to bigblueb...@googlegroups.com
in fact, it seems my syntax -- <useWebrtcIfAvailable = "false"/> -- actually kills the client at the browser?  i was not able to load it with that line in place.  can someone share the syntax to disable WebRTC at the client side in config.xml?

Chad Pilkey

unread,
Sep 15, 2014, 5:07:52 PM9/15/14
to bigblueb...@googlegroups.com
The property is already in the config.xml file right here, https://github.com/bigbluebutton/bigbluebutton/blob/master/bigbluebutton-client/resources/config.xml.template#L59. You just have to change the true to false and restart tomcat7.

david bodily

unread,
Sep 15, 2014, 5:53:52 PM9/15/14
to bigblueb...@googlegroups.com
Chad,

thank you very much for your patience.  i've clearly not been working with this much since 0.81 was functioning so well.  my hunt through the config file was an idiot move looking for the setting with a case-insensitive search after Richard Alam pointed me in the right direction in the first place.  now that i've correctly disabled WebRTC on the client side per instruction, i have a functioning system for all browsers using flash. 

on to WebRTC:  since the last adjustment and reassurances from the person managing the firewall, i now also have a functioning system using WebRTC in both FF and chrome.  success at last!

recognizing the dubious value of this report for the community, i can confirm that -- with plenty of patient help -- i was able to a) purge an old installation from 14.04.1 and b) successfully install and run the 0.9.0 beta. 

this BBB system has made a very real difference to a small community college nursing program with a huge service area and BBB out-performed the commercial system that was available when BBB was pressed into service.  i offer my sincere thanks on behalf of a few years' graduates for all the work and support done in the open-source spirit.  bravo!

david

Fred Dixon

unread,
Sep 15, 2014, 8:15:30 PM9/15/14
to BigBlueButton-dev
Hi David,

> this BBB system has made a very real difference to a small community college 
> nursing program with a huge service area and BBB out-performed the 
> commercial system that was available when BBB was pressed into service.  i offer 
> my sincere thanks on behalf of a few years' graduates for all the work and support 
> done in the open-source spirit.  bravo!

Thank you for the feedback!!  


Regards,... Fred


BigBlueButton Developer
BigBlueButton on twitter: @bigbluebutton
Reply all
Reply to author
Forward
0 new messages