Self-hosted JitsiMeet (docker)
Site with front on VueJS
On site I have authorized users with different rights.
I use IFrame API for create Jitsi room. Rooms creates fine, everything works fine.
Problem - users on site, that have group “admins” must be moderators in jitsi rooms. But… They can connect not first. And for security reasons I try set passwords to rooms.
In this I have 2 problems:
- Set moderator rights to specific user (even user not first in room)
- Set password to room
const apiMeet = new API('my.domain.com', options) apiMeet.executeCommand('displayName', user.value.nickName) apiMeet.executeCommand('avatarUrl', user.value.avatarUrl) apiMeet.executeCommand('subject', meetSubj.value) apiMeet.executeCommand('password', meetPass.value)
But… password not set. I try place command-password in onload option-section - no difference.
And I have property user.value.is_admin (bool).
How I set moderator rights for user when is_admin=true?
Docs have command grantModerator ( Commands | Jitsi Meet ), but for this I must have participantID.
I try this solution: How to get the participantId - #4 by Dibyajyoti_Prusty , but not works.
How I can solve this problems?