These are pre-session configurations that must be set before joining a call. Once configured, pass the settings object to the
joinSession() method, or, for a ringing call, to initiateCall() (as sessionSettings) or connect(). A session prepared by initiateCall() or connect() keeps the settings it was prepared with: session.join(container) takes none. 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
Peer Call
Property:isPeerCall
Marks the session as a one-to-one call. In a peer call, when one participant leaves, the session ends for both instead of continuing with one person in it. The SDK also watches the other participant’s connection and reports onRemoteConnectionLost when no media statistics arrive from them for 10 seconds, and onRemoteConnectionRestored when they resume. Set it for every 1:1 ringing call; leave it off for group calls and meetings.
false
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.
false
Start Video Paused
Property:startVideoPaused
Controls whether the camera is turned off when joining the session.
false
Auto Start Recording
Property:autoStartRecording
Automatically starts recording the session as soon as it begins.
false
Auto Start Transcription
Available since v5.0.5 Property:autoStartTranscription
Automatically starts transcribing the session as soon as it begins. See Transcription for details.
false
Caption Language
Available since v5.0.5 Property:captionLanguage
Sets the language used for transcription and closed captions. See Transcription for the full list of supported codes.
en-US
Idle Timeout Period Before Prompt
Property:idleTimeoutPeriodBeforePrompt
Time in milliseconds before showing the idle timeout prompt when you’re the only participant.
60000 (60 seconds)
Idle Timeout Period After Prompt
Property:idleTimeoutPeriodAfterPrompt
Time in milliseconds after the prompt before automatically ending the session.
180000 (180 seconds / 3 minutes)
UI Visibility Settings
Hide Control Panel
Property:hideControlPanel
Hides the bottom control bar that contains call action buttons.
false
Hide Leave Session Button
Property:hideLeaveSessionButton
Hides the button that allows users to leave or end the call.
false
Hide Toggle Audio Button
Property:hideToggleAudioButton
Hides the microphone mute/unmute button from the control panel.
false
Hide Toggle Video Button
Property:hideToggleVideoButton
Hides the camera on/off button from the control panel.
false
Hide Recording Button
Property:hideRecordingButton
Hides the recording start/stop button from the control panel.
true
Hide Transcription Button
Available since v5.0.5 Property:hideTranscriptionButton
Hides the transcription start/stop item from the control panel’s More menu.
true
Hide Closed Caption Button
Available since v5.0.5 Property:hideClosedCaptionButton
Hides the closed-caption (CC) button from the control panel. Even when set to false, the button only appears while transcription is running.
true
Hide Screen Sharing Button
Property:hideScreenSharingButton
Hides the screen sharing button from the control panel.
false
Hide Change Layout Button
Property:hideChangeLayoutButton
Hides the button that allows switching between different layout modes.
false
Hide Virtual Background Button
Property:hideVirtualBackgroundButton
Hides the virtual background settings button.
false
Virtual Background
Property:virtualBackground
Configures the virtual background picker (images, user uploads, blur options) and engine. See Virtual Background for all options.
undefined (built-in images, uploads and blur enabled)
Hide Network Indicator
Property:hideNetworkIndicator
Hides the network quality indicator.
true
Complete Example
All Settings Reference
All Settings Reference