Skip to content

Reduce "Connecting to Echotest" waiting time by 4/8 seconds #9084

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Apr 15, 2020
Merged

Reduce "Connecting to Echotest" waiting time by 4/8 seconds #9084

merged 1 commit into from
Apr 15, 2020

Conversation

basisbit
Copy link
Collaborator

@basisbit basisbit commented Apr 14, 2020

What does this PR do?

Change iceCheckingTimeout from 5 seconds to 1 second in /usr/share/meteor/bundle/programs/web.browser/app/compatibility/sip.js

Additional Notes

One of the most annoying things about breakout rooms is that the users have to do the echo test again. So they have to wait 7 to 12 seconds again every time (for typical bbb configurations) just for the echo test to connect. This PR reduces the iceCheckingTimeout from 5 seconds to 1 second, which is still way more than enough for finding candidates to connect to the freeswitch server unless there is a configuration or network load issue. Depending on network of the used client, this change saves the user between 4 to 8 seconds for every time they activate audio playback or microphone.
The original 5 seconds timeout is a default of the official sip.js library and was added in #2877 to the bbb-custom sip.js . Documentation for this parameter in sip.js:
http://sipjs.com/api/0.7.0/ua_configuration_parameters/#icecheckingtimeout
This change was successfully tested with a group of 20 different users on different configurations on different networks in Germany on a couple of private bbb default installs and also on a .rna1_blindsidenetworks_com instance.

one of the most annoying things about breakout rooms is that the users have to do the echo test again. So they have to wait 7 to 12 seconds again (for most typical bbb configurations) just for the echo test to connect. This change reduces the iceCheckingTimeout from 5 seconds to 1 second, which is still way more than enough unless there is a configuration or network load issue. Depending on network of the used client, this change saves the user between 4 to 8 seconds for every time they activate audio playback or microphone.
The original 5 seconds timeout is not part of the official sip.js library but instead was added in #2877
@basisbit
Copy link
Collaborator Author

Seems to be related to mconf#233

@ffdixon
Copy link
Member

ffdixon commented Apr 15, 2020

@basisbit Thanks for the pull request. We're going to try it and let you know how it works.

@ffdixon ffdixon closed this Apr 15, 2020
@ffdixon ffdixon reopened this Apr 15, 2020
@ffdixon ffdixon merged commit ad4ec20 into bigbluebutton:develop Apr 15, 2020
@basisbit basisbit deleted the patch-1 branch April 18, 2020 22:21
@basisbit basisbit changed the title Reduce "Connecting to Echotest" waiting time by 4 seconds Reduce "Connecting to Echotest" waiting time by 4/8 seconds Apr 26, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants