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
Hey @rinurinshac
You can listen to the user-added
and user-removed
events, and client.getAllUser()
to obtain the users.
Thanks
Vic
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.