WebSocket (Web RTC audio) disconnected at intervals

303 views
Skip to first unread message

Harry

unread,
Apr 10, 2015, 1:58:45 AM4/10/15
to bigblueb...@googlegroups.com
Hello,

When I use BBB090 with Web RTC audio, the WebSocket is disconnected at intervals.
(BBB ver.090 build258)

It seems that, No sound input over 180 second causes this disconnect action.
It's only occurred in Web RTC audio mode, not in Flash audio mode.

I think, you can repeat this event on BBB demo site.


I can't found out any configuration parameters with this action.

/opt/freeswitch/conf/dialplan/public/bbb_webrtc.xml

/opt/freeswitch/conf/dialplan/default.xml

  etc...

Please let me know how to solve this problem, if you have some solutions.


Thanks in advance,
Harry


Fred Dixon

unread,
Apr 10, 2015, 6:28:43 AM4/10/15
to BigBlueButton-dev
Hi Harry,

> It seems that, No sound input over 180 second causes this disconnect action.

Can you be more specific on the steps to reproduce.  Are you connecting by microphone, muting your microphone, and then waiting 180 seconds?  

How reproducible is it? 

Can you do this: Using FireFox or Chrome, 

  1.  Open one tab to your server and connect using microphone via webRTC.   
  2.  Open a second tab to http://demo.bigbluebutton.org/ and do the same.

Do they both stop transmitting audio at the same time or different times?  Is it possible to do the above from a different network location?

I can remain connected to demo for long periods with my microphone (muted/unmuted) and it still transmits audio.  Interested to figure out what's different in your setup.

Regards,.. Fred

--
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
BigBlueButton on twitter: @bigbluebutton

Harry

unread,
Apr 10, 2015, 8:46:36 AM4/10/15
to bigblueb...@googlegroups.com
Hello Fred,

Thanks for your quick response.
Waiting 180 seconds as I said is not accurate...
It happens after 150 - 180 seconds. (It seems non-constat.)


BTW, I did this testing using Chrome 41.0.2272.118 (64-bit) and Firefox 37.0.1 on Mac OSX 10.10.2
(Microphone is muting. Because unmuting mode has no problem.)

 > 1.  Open one tab to your server and connect using microphone via webRTC.   (Chrome, Firefox)

 > 2.  Open a second tab to http://demo.bigbluebutton.org/ and do the same.  (Chrome, Firefox)
         (5 seconds after the case 1 connected.)

3. Open a third tab to http://demo.bigbluebutton.org/ and connect using microphone via Flash audio.(Firefox) 


Results:
After waiting 150 seconds, Case 1 (Web RTC to my testing BBB090 site) is disconnected.
And then, 5 second later, Case 2 (Web RTC to your demo site) is disconnected too.
On the one hand, Case 3 keeps connection via Flash audio to your demo site after 15 minutes or more.

I did this testing 2 times and got same results.
Web RTC mode has this problem, but instead Flash audio mode is working perfectly...


Thank you,
Harry








2015年4月10日金曜日 19時28分43秒 UTC+9 Fred Dixon:

Fred Dixon

unread,
Apr 10, 2015, 8:50:41 AM4/10/15
to BigBlueButton-dev
Hi Harry,

Thanks for the update.  A few more questions.

1.  Are you using a laptop or desktop computer to test? 
2.  How are you connected to the internet: wired or wireless?
3.  Are you behind a firewall?

Is it possible for you to test again using the same computer but connected through a different network?

Regards,... Fred 

Harry

unread,
Apr 10, 2015, 6:04:44 PM4/10/15
to bigblueb...@googlegroups.com
Hello Fred,

> 1.  Are you using a laptop or desktop computer to test? 
I'm using a laptop computer (Macbook Pro).

> 2.  How are you connected to the internet: wired or wireless?
PC --> Wifi(802.11n) --> NAT router --> Fiber-optic --> BBB Server

> 3.  Are you behind a firewall?
Yes. I'm behind NAT router.


AND THEN, I have proved the cause.
It's not a problem of server side as you thought.

The wrong'un is the web sheild function of Avast Mac Security.
(Avast Mac Security 2015 ver.10.10(44063) )

After I added BBB servers in the Excluded Servers list of Avast, BBB's Web RTC connection
has stabilized very well like as Flash audio mode.
It seems that Web RTC connection (Web socket) is profoundly affected by virus detection tools
unlike in the case of Flash audio mode.


Thank you for your good advice,
Harry










2015年4月10日金曜日 21時50分41秒 UTC+9 Fred Dixon:

Fred Dixon

unread,
Apr 10, 2015, 6:09:55 PM4/10/15
to BigBlueButton-dev
Yeah!

Thanks Harry for sharing the information of what you did to get it working.  Your post will very likely help others.

Regards,... Fred

Reply all
Reply to author
Forward
0 new messages