Permissions Parameters
permissions
- type:
object
pin
type:
Boolean
pin
represents whether participant can bepin
other self or participants or not.
askToJoin
type:
Boolean
askToJoin
represents 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
toggleParticipantWebcam
represents whether participant can toggle other participant's webcam or not.
toggleParticipantMic
type:
Boolean
toggleParticipantMic
represents whether participant can toggle other participant's mic or not.
removeParticipant
type:
Boolean
removeParticipant
represents whether participant can remove other participant or not.
endMeeting
type:
Boolean
endMeeting
represents 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
drawOnWhiteboard
represents whether participant have permission to draw on white board or not.
toggleWhiteboard
type:
Boolean
toggleWhiteboard
enables participant to toggle white board if set totrue
.
toggleRecording
type:
Boolean
toggleRecording
enables participant to toggle recording if set totrue
toggleLivestream
type:
Boolean
toggleLivestream
enables participant to toggle live streaming if set totrue
changeLayout
type:
Boolean
changeLayout
enables participant to change the layout of a meeting when set totrue
meeting.init({
//other params
permissions: {
pin: true,
askToJoin: false,
toggleParticipantWebcam: true,
toggleParticipantMic: true,
removeParticipant: true,
endMeeting: true,
drawOnWhiteboard: true,
toggleWhiteboard: true,
toggleRecording: true,
toggleLivestream: true,
changeLayout: true,
},
//other params
});