Skip to main content
The session settings object allows you to customize every aspect of your call session before participants join. From controlling the initial audio/video state to customizing the UI layout and hiding specific controls, these settings give you complete control over the call experience.
These are pre-session configurations that must be set before joining a call. Once configured, pass the settings object to the joinSession() method. Settings cannot be changed after the session has started, though many features can be controlled dynamically during the call using call actions.

Session Settings

Session Type

Property: sessionType Defines the type of call session. Choose VIDEO for video calls with camera enabled, or VOICE for audio-only calls.
Default: VIDEO

Layout Mode

Property: layout Sets the initial layout mode for displaying participants.
Default: TILE

Start Audio Muted

Property: startAudioMuted Determines whether the microphone is muted when joining the session.
Default: false

Start Video Paused

Property: startVideoPaused Controls whether the camera is turned off when joining the session.
Default: false

Auto Start Recording

Property: autoStartRecording Automatically starts recording the session as soon as it begins.
Default: false

Idle Timeout Period Before Prompt

Property: idleTimeoutPeriodBeforePrompt Time in milliseconds before showing the idle timeout prompt when you’re the only participant.
Default: 60000 (60 seconds)

Idle Timeout Period After Prompt

Property: idleTimeoutPeriodAfterPrompt Time in milliseconds after the prompt before automatically ending the session.
Default: 120000 (120 seconds)

UI Visibility Settings

Hide Control Panel

Property: hideControlPanel Hides the bottom control bar that contains call action buttons.
Default: false

Hide Leave Session Button

Property: hideLeaveSessionButton Hides the button that allows users to leave or end the call.
Default: false

Hide Toggle Audio Button

Property: hideToggleAudioButton Hides the microphone mute/unmute button from the control panel.
Default: false

Hide Toggle Video Button

Property: hideToggleVideoButton Hides the camera on/off button from the control panel.
Default: false

Hide Recording Button

Property: hideRecordingButton Hides the recording start/stop button from the control panel.
Default: true

Hide Screen Sharing Button

Property: hideScreenSharingButton Hides the screen sharing button from the control panel.
Default: false

Hide Change Layout Button

Property: hideChangeLayoutButton Hides the button that allows switching between different layout modes.
Default: false

Hide Switch Layout Button

Property: hideSwitchLayoutButton Hides the layout switch button.
Default: false

Hide Virtual Background Button

Property: hideVirtualBackgroundButton Hides the virtual background settings button.
Default: false

Hide Network Indicator

Property: hideNetworkIndicator Hides the network quality indicator.
Default: false

Complete Example