I’ve set up Jitsi Meet along with Rocket Chat and JWT token. It’s all working fine and as it should.
All Rocket Chat users can make video calls with one another while outsiders who have the room link are restricted only to existing rooms with a moderator (in this case, any Rocket Chat user).
I wanted to know, however, if there’s a way to implement lobbies by default, but only for guests.
Lobbies are working when any moderator enables them. When enabled, both new Rocket Chat users (which always have administrative rights) and guests will start waiting in the lobby.
The goal here would be to enable lobbies by default for guests, while keeping calls between Rocket Chat users seamless, with no lobby.
Maybe I’m mixing things here, but the guests are configured partially with the Secure Domain guide. I don’t know if it works well along JWT token, but I can confirm that all guests have no administrative rights and Prosody logs show them set correctly as guests (the lines in bold):
May 18 17:37:48 mod_bosh info New BOSH session, assigned it sid ‘xxxxxx1’
May 18 17:37:48 boshdxxxxxx1 info Authenticated as firstname.lastname@example.org
May 18 17:37:55 mod_bosh info New BOSH session, assigned it sid ‘xxxxxx2’
May 18 17:37:55 boshxxxxxxx2 info Authenticated as email@example.com
May 18 17:38:27 mod_bosh info New BOSH session, assigned it sid ‘xxxxxx3’
May 18 17:38:27 boshxxxxxxx3 info Authenticated as firstname.lastname@example.org
I’ve made some attempts with plugins such as:
but I’m guessing Rocket Chat would have to set the correct context for users who enter the room with the JWT token for those plugins to work?
So, is it possible to enable lobby by default only for guests?