we’ve self-hosted jitsi server. in our application, we’ve 3 types of user personas. Guest,
login user, and webinar user. Based on user persona we’ve to restrict some of jitsi functionality.
If the user is a guest, the maximum participate limit should be 5.
if a user is a login user, then he can use all the jitsi features that we’ve.
if a user is webinar and role is moderator then only moderators should share screen, mute/unmute, etc. other users can only see and can not perform any action.
We want all these features programmatically and not from the server side.
we are using React SDK
<div className="App">
<JitsiMeeting
domain={process.env.REACT_APP_DOMAIN_NAME}
roomName={'random'}
configOverwrite={{
startWithAudioMuted: true,
startWithVideoMuted: true,
}}
interfaceConfigOverwrite={{
DISABLE_JOIN_LEAVE_NOTIFICATIONS: true,
}}
onApiReady={(externalApi) => {
// here you can attach custom event listeners to the Jitsi Meet External API
// you can also store it locally to execute commands
}}
getIFrameRef={(iframeRef) => {
iframeRef.style.height = "100vh";
}}
/>
Can anyone please help how can I achieve these functionalities?