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

Implements endWhenNoModerator #12395

Merged

Conversation

gustavotrott
Copy link
Collaborator

@gustavotrott gustavotrott commented May 17, 2021

This PR fix #6116

  • It implements endWhenNoModerator option that was already available in bigbluebutton.properties.
    When this options is enabled, BBB registers when some moderator join in the meeting and after all moderators left the meeting is automatically ended.

  • Also include option endWhenNoModeratorDelayInMinutes
    After all moderators left, it will wait for x minutes before end meeting. If some moderator rejoins the meeting, then it will not be ended anymore.

@@ -354,6 +381,7 @@ class MeetingActor(
case m: ChangeUserRoleCmdMsg =>
usersApp.handleChangeUserRoleCmdMsg(m)
updateUserLastActivity(m.body.changedBy)
updateModeratorsPresence()
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hey @gustavotrott ,
Is it safe for us to rely on multiple workflows like also updating the monitor on role change (for instance)? Couldn't we achieve the same result only checking if there's a moderator online at the trackers associated with the timestamp of when the last one left?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hey @pedrobmarin, thanks for the review!

The "moderators monitor" is called after the four events that could influence the number of the moderators in the meeting.
This idea of checking immediately after the event is to guarantee that it will record the exactly timestamp that last moderator left. And thus it can have more precision about what time end the meeting.

Also, if it only checked periodically it would never know if some moderator joined and left during this interval.

@antobinary antobinary requested a review from ritzalam May 21, 2021 18:47
@antobinary antobinary added this to the Release 2.3 milestone May 21, 2021
@antobinary antobinary changed the base branch from develop to v2.3.x-release May 31, 2021 14:59
@antobinary antobinary merged commit 8868e84 into bigbluebutton:v2.3.x-release May 31, 2021
@gustavotrott gustavotrott deleted the end-when-no-moderator branch March 11, 2024 16:42
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.

when moderator close browser automatic end meeting
3 participants