I downloaded jitsi-meet-tokens, mod_token_affiliation, token_lobby_bypass, lobby_autostart plugins downloaded. Tested it and everything I expect for the lobby in the installed web interface is working.
I’m developing a custom UI using lib-jitsi-meet low level api, how should I go about it to use the lobby feature?
I can’t figure out exactly how I should go about it, I’d appreciate it if you could help
lobby feature is active and lobby is forming. I can see this in prosody.
Apr 28 08:04:19 mod_bosh info New BOSH session, assigned it sid '414caf35-fa15-4d69-a963-7164abe9f3e1'
Apr 28 08:04:19 bosh414caf35-fa15-4d69-a963-7164abe9f3e1 info Authenticated as bcfd76aa-1f5b-4b0f-9a48-3beb5f0910e0@mydomain.com
Apr 28 08:04:21 mydomain.com:muc_lobby_rooms info Lobby room jid = example-room-name@lobby.mydomain.com created from:(nil)
This is how you create the listener, your code seems correct.
You are sending the message too early. Make sure you get the conference error, then join the lobby, make aure you are in the lobby, then send a mesaage.
thanks,
sendLobbyMessage function returned undefined. the user gets the CONFERENCE_FAILED error and joins the lobby, there is a lobby id side, but is there something like the enable chat feature of the lobby that the user joins is true or false, how can I access the lobby configuration I am in?
this is code :
room.on(
JitsiMeetJS.events.conference.CONFERENCE_FAILED,
(err) => {
console.log('user failed to join the conference. : ', err);
room.joinLobby()
.then(()=>{
console.log(`lobby join success, local user lobby user id : ${room.myLobbyUserId()}`)
.catch((err)=>{
console.log('lobby join error: ',err)
})
})
}
);
Ask to join on jitsi-meet web button, then moderator starts messaging. Is that why I can’t use the sendLobbyMessage function?
lobby chat is enabled in my distribution and I have provided all these features but I cannot send a message to the lobby and I cannot see the message sent to the lobby. I’m using jitsi-meet web and my own custom UI web app over distribution. I can only accept and decline the request to join
no it works. I join the same meeting with pure jitsi-meet and on the other hand, with the custom app I created using a low level api, but I can’t see and send messages sent to the lobby.
two users in the meeting are sending and receiving messages to each other but I can’t send messages to the user in the lobby and I can’t receive the message that the moderator sent to the lobby
If that works for jitsi-meet I don’t see why it would not work with your modifications. You can put a breakpoint on both of them and see how it behaves and the parameters that are passed when executed inside jitsi-meet and see what is the difference with your implementation.