liuzhe02 / bigbluebutton

Automatically exported from code.google.com/p/bigbluebutton
0 stars 0 forks source link

Add User Role as a extra Query String to the logoutUrl. #1916

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Why Needed: 
In some cases we want to know that is the logged out user is a moderator? and 
then in third-party application, we can decide to change meeting status to 
finished, or send EndMeeting API call to the bbb server if the logged out user 
is a moderator.

Issue here is the students remain in the meeting for a long time after 
moderator is logged out. Another Issue is changing status of meeting to the 
Finished give us opportunity of deleting finished meeting from third-party 
database or at least not show in list of planned meeting to the users.

Original issue reported on code.google.com by idol.me...@gmail.com on 2 Apr 2015 at 9:26

GoogleCodeExporter commented 9 years ago
Hi Idol,

This is problematic as the moderator may not click the logout button, in which 
case you won't get any access to the LogoutURL.

Instead, we recommend you use the getMeetings and getMeetingInfo API call to 
periodically poll your BigBlueButton server.  

You can poll every 2 minutes (or as often as you wish).  For example, when 
getMeetingInfo returns two consecutive polls with no moderator (they have all 
logged out), you could then call endMeeting to end the meeting.  This way, you 
are not dependent on any user behaviour.

Original comment by ffdixon@gmail.com on 4 Apr 2015 at 1:18