Skip to main content
The CometChat Calls SDK supports recording call sessions. Recordings can be started manually or automatically when the call begins.

Enable Recording Button

Show the recording button in the call UI:

Auto-Start Recording

Start recording automatically when the call begins:

Start Recording Programmatically

Start recording during an active call:

Stop Recording

Stop an active recording:
A recording runs until it is stopped. Whether it was started manually or automatically through autoStartRecording, it keeps running until someone stops it. If nobody does, it stops on its own when either:
  • Everyone leaves the session — the recording ends about a minute later.
  • Everyone in the session stays muted for 10 minutes.

Recording Events

Listen for recording state changes:

Using addEventListener

Participant Recording Events

Listen when other participants start or stop recording:

Recording Button Click Event

Listen for when the recording button is clicked:

Access Recordings

Recordings are available through the call logs after the call ends. Use the Chat SDK to retrieve recordings:

Recording Object

Each recording contains:

Complete Example