We need to limit the number of participants to 2 in a session. if a third participant tries to join in the same session, it should not be allowed. How to achieve this?
Hey @rinurinshac ,
This logic will need to be implemented on your end. Perhaps you can keep track of how many users are in a session, and then if there are 2, hide your Join UI for additional users.
-Tommy
Is there any api available to get list of users joined in a session?
Hey @rinurinshac
You can listen to the user-added and user-removed events, and client.getAllUser() to obtain the users.
Thanks
Vic