You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
To keep conference attendences consistent in case of a user closing the digital classroom tab, two scenarios come to mind:
The closing of the classroom-tab is immediately noted in the backend. It is possible to immediately remove the user from the datastructures holding information about the attending users. When the user reopens the tab it is not possible to reenter the rooms, since information about open tabs is not obtainable.
Pro: Easy to implement. Light on traffic.
Con: Not 100% accurat. User in conference is not visible to others on refresh, unless he rejoins the BBB conferences via new classroom tab. Better than leaving the users within the backends attendence list.
When a user connects / reconnects to the backend, the attendence of the conferences known to the backend is requested from the BBB server.
Pro: 100% Accurat.
Con: Possibly heavy traffic to BBB server & longer response times on connection. A little harder to implement.
Any thoughts on this?
The text was updated successfully, but these errors were encountered:
I would like to add a third alternative:
3. Use BBB Webhook to get notified by the BBB-Server, when a user joins or leaves.
Pro: 100% Accurat and Light on traffic
Con: The BBB-Server needs to have bbb-webhooks installed
PILOS contacts the BBB backend every minute. @frankkammer suggested to do that as well.
This could be combined with option 1:
We delete a leaving user from all conferences within the classroom and readd him if the BBB backend says, that he is still attending a conference. This is possible, since there is no strong consistency enforced and a user is only identified via its unique id, which is identical in gateway, classroom and BBB backend.
To keep conference attendences consistent in case of a user closing the digital classroom tab, two scenarios come to mind:
The closing of the classroom-tab is immediately noted in the backend. It is possible to immediately remove the user from the datastructures holding information about the attending users. When the user reopens the tab it is not possible to reenter the rooms, since information about open tabs is not obtainable.
Pro: Easy to implement. Light on traffic.
Con: Not 100% accurat. User in conference is not visible to others on refresh, unless he rejoins the BBB conferences via new classroom tab. Better than leaving the users within the backends attendence list.
When a user connects / reconnects to the backend, the attendence of the conferences known to the backend is requested from the BBB server.
Pro: 100% Accurat.
Con: Possibly heavy traffic to BBB server & longer response times on connection. A little harder to implement.
Any thoughts on this?
The text was updated successfully, but these errors were encountered: