Skip to main content

Customization Object

The Customization object is used in both Create Room and Join Room APIs to configure the UI/UX of the classroom.

Schema​

{
"showLobby": boolean,
"showClassTitle": boolean,
"showLogo": boolean,
"showHeader": boolean,
"showParticipantName": boolean,
"showMicIndicator": boolean,
"needChat": boolean,
"needControlbar": boolean,
"allowScreenShare": boolean,
"allowHandRaise": boolean,
"allowRecording": boolean,
"allowIngress": boolean,
"validateDomain": boolean,
"theme": "system" | "light" | "dark"
}

Properties​

KeyTypeDefaultDescription
showLobbybooleantrueShow audio/video setup screen before joining room.
showClassTitlebooleantrueDisplay the room title in the header.
showLogobooleantrueShow organization logo (if configured).
showHeaderbooleantrueShow the top navigation bar.
showParticipantNamebooleantrueShow participant names on their video tiles.
showMicIndicatorbooleantrueShow microphone muted/active icon on video tiles.
needChatbooleantrueEnable chat sidebar functionality.
needControlbarbooleantrueShow the bottom control bar (mute, video, screenshare buttons).
allowScreenSharebooleantrueAllow this participant to share their screen.
allowHandRaisebooleantrueAllow this participant to use the Hand Raise feature.
allowRecordingbooleantrueAllow this participant to start/stop recordings.
allowIngressbooleanfalseAllow injecting RTMP streams into the room.
validateDomainbooleantrueEnforce domain validation for iframe embedding security.
themestringsystemUI Color theme. Options: system (follows OS), light, dark.

Usage Examples​

Minimal Viewer​

Hides all controls for a passive "webinar" style viewer.

{
"showLobby": false,
"needChat": false,
"needControlbar": false,
"allowScreenShare": false,
"theme": "dark"
}

Student Restricted​

Standard student view but prevents recording.

{
"showLobby": true,
"needChat": true,
"allowHandRaise": true,
"allowRecording": false,
"allowScreenShare": true
}