Permissions Parameters - Prebuilt
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.
toggleParticipantMode
-
type:
Boolean
-
toggleParticipantMode
represents whether participant can toggle other participant's mode or not.
toggleParticipantScreenshare
-
type:
Boolean
-
toggleParticipantScreenshare
represents whether participant can toggle other participant's screen share or not.
canToggleParticipantTab
-
type:
Boolean
-
canToggleParticipantTab
represents whether participant can toggleparticipant tab
panel or not.
removeParticipant
-
type:
Boolean
-
removeParticipant
represents whether participant can remove other participant or not.
canCreatePoll
-
type:
Boolean
-
canCreatePoll
represents whether participant can create a poll 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
.
toggleVirtualBackground
-
type:
Boolean
-
toggleVirtualBackground
enables participant to see virtual background option 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,
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