Permissions Parameters - Prebuilt
permissions
- type: 
object 
pin
- 
type:
Boolean - 
pinrepresents whether participant can bepinother self or participants or not. 
askToJoin
- 
type:
Boolean - 
askToJoinrepresents whether participant can request to join in the meeting or not. - 
If it is
false, then participant will directly join the meeting 
toggleParticipantWebcam
- 
type:
Boolean - 
toggleParticipantWebcamrepresents whether participant can toggle other participant's webcam or not. 
toggleParticipantMic
- 
type:
Boolean - 
toggleParticipantMicrepresents whether participant can toggle other participant's mic or not. 
toggleParticipantMode
- 
type:
Boolean - 
toggleParticipantModerepresents whether participant can toggle other participant's mode or not. 
toggleParticipantScreenshare
- 
type:
Boolean - 
toggleParticipantScreensharerepresents whether participant can toggle other participant's screen share or not. 
canToggleParticipantTab
- 
type:
Boolean - 
canToggleParticipantTabrepresents whether participant can toggleparticipant tabpanel or not. 
removeParticipant
- 
type:
Boolean - 
removeParticipantrepresents whether participant can remove other participant or not. 
canCreatePoll
- 
type:
Boolean - 
canCreatePollrepresents whether participant can create a poll or not. 
endMeeting
- 
type:
Boolean - 
endMeetingrepresents whether participant can end meeting or not. - 
If it is
true, then participant can end the meeting and all joined participants will be removed from the meeting. 
drawOnWhiteboard
- 
type:
Boolean - 
drawOnWhiteboardrepresents whether participant have permission to draw on white board or not. 
toggleWhiteboard
- 
type:
Boolean - 
toggleWhiteboardenables participant to toggle white board if set totrue. 
toggleVirtualBackground
- 
type:
Boolean - 
toggleVirtualBackgroundenables participant to see virtual background option if set totrue. 
toggleRecording
- 
type:
Boolean - 
toggleRecordingenables participant to toggle recording if set totrue 
toggleLivestream
- 
type:
Boolean - 
toggleLivestreamenables participant to toggle live streaming if set totrue 
changeLayout
- 
type:
Boolean - 
changeLayoutenables participant to change the layout of a meeting when set totrue 
meeting.init({
  //other params
  permissions: {
    pin: true,
    askToJoin: false,
    toggleParticipantWebcam: true,
    toggleParticipantMic: true,
    toggleParticipantMode: true,
    canCreatePoll: true,
    canToggleParticipantTab: true,
    toggleParticipantScreenshare: true,
    removeParticipant: true,
    endMeeting: true,
    drawOnWhiteboard: true,
    toggleWhiteboard: true,
    toggleVirtualBackground: true,
    toggleRecording: true,
    toggleLivestream: true,
    changeLayout: true,
  },
  //other params
});
Got a Question? Ask us on discord

