Role-wise permissions (Just for example)
<aside> 🧑🏻‍💻 Note: You don’t need to look outside your Prebuilt UI code, for these settings
</aside>
Feature | If you want to use | If you don’t want to use |
---|---|---|
Role | Teacher or host or merchant | Student or guest or client |
Room name | meetingId: "Room-01" | meetingId: "Room-01" |
Conference link | www.website.com/room01/host | www.website.com/room01/guest |
Use mic | micEnabled: true, | micEnabled: true, |
Use webcam | WebcamEnabled: true, | WebcamEnabled: true, |
Turn ON/OFF self mic | participantCanToggleSelfMic: true, | participantCanToggleSelfMic: true, |
Turn ON/OFF self webcam | participantCanToggleSelfWebcam: true, | participantCanToggleSelfWebcam: true, |
Turn ON/OFF others’ mic** | toggleParticipantMic: true, | toggleParticipantMic: false, |
Turn ON/OFF others’ webcam** | toggleParticipantWebcam: true, | toggleParticipantWebcam: false, |
Direct join conference** | ||
(others need to request to join) | askToJoin: false, | askToJoin: true, |
Use chat | chatEnabled: true, | chatEnabled: true, |
Use raise-hand | raiseHandEnabled: true, | raiseHandEnabled: true, |
Use screenshare | screenShareEnabled: true, | screenShareEnabled: false, |
Turn ON/OFF recording** | toggleRecording: true, | toggleRecording: false, |
Turn ON/OFF whiteboard** | toggleWhiteboard: true, | toggleWhiteboard: false, |
Draw access on whiteboard** | drawOnWhiteboard: true, | drawOnWhiteboard: false, |
Kick/remove others | removeParticipant: true, | removeParticipant: false, |
End conference for all | ||
(it’s different than leaving) | endMeeting: true, | endMeeting: false, |
** These attributes falls under permissions: { }
tab, hence take extra care while making changes in your existing code
<aside> đź’ˇ One-liner: Both parties (hosts & guests) stay in the same meeting ID but login on different pages, each one using different code, URLs like meeting/host (with code for host) and meeting/client (with codes for client)
</aside>