Skip to content
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

Add ping-pong message to html5 client #7708

Merged
merged 5 commits into from Jul 4, 2019

Conversation

Tainan404
Copy link
Member

@Tainan404 Tainan404 commented Jul 1, 2019

This PR intend to add the ping-pong feature to BBB html5 to avoid users stay in meeting when it's disconnected.

Steps to test:

  • Join two users in the same meeting.
  • Stop the server
  • Remove a user from the meeting.
  • Restart the server.

I use an internal Meteor API that allows just trigger a changed event without a collection actually changing.
That was triggered via the setIterval setted in publisher.

I made two setIntervals:
5 seconds is used to create a pong routine to server and notify user to send a ping.
10 seconds is used to run the clear inactive users routine that clean all incative users in the last 10 seconds.

@antobinary antobinary merged commit c14e607 into bigbluebutton:master Jul 4, 2019
antobinary added a commit to antobinary/bigbluebutton that referenced this pull request Apr 23, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants