Skip to main content
Configure call sessions using a plain sessionSettings object. This allows you to customize the call UI, behavior, and features.

Session Settings Object

The sessionSettings object is a plain JavaScript object whose properties configure the call session. Pass it to CometChatCalls.Component via the sessionSettings prop:

Configuration Options

Call Type

Layout Mode

Available layouts:

UI Controls

Initial State

Available audio modes:

Recording

Idle Timeout

Video Tile Interaction

Event Subscription

Subscribe to call events with CometChatCalls.addEventListener. Pass an AbortSignal to each listener and call controller.abort() once to remove them all on cleanup:

Complete Example

  • Join Session - Start a call with these settings
  • Events - Detailed event documentation
  • Actions - Control the call programmatically