Quick Reference - Start and stop call recording:
Available via: SDK | UI Kits
Overview
This section guides you through implementing call recording for voice and video calls. Once you have decided to implement Ringing or Call Session and followed the steps to implement them, a few additional listeners and methods will help you quickly implement call recording in your app. You need to make changes in theCometChatCalls.OngoingCallListener constructor and add the required listeners for recording. Please make sure your callSettings is configured accordingly for Ringing or Call Session.
A basic example of how to make changes to implement recording:
- JavaScript
- TypeScript
Settings for Call Recording
| Setting | Description |
|---|---|
showRecordingButton(showRecordingButton: boolean) | If set to true it displays the Recording button in the button Layout. Default value = false |
startRecordingOnCallStart(startRecordingOnCallStart: boolean) | If set to true call recording will start as soon as the call is started. Default value = false |
Start Recording
Stop Recording
Downloading Recording
Currently, the call recordings are available on the CometChat Dashboard under the Calls Section.


Best Practices
Best Practices
- The ongoing call component automatically displays a recording badge when recording starts
- Use auto-recording for compliance use cases with
startRecordingOnCallStart(true) - If using a custom layout, track recording state using
onRecordingStartedandonRecordingStoppedlisteners
Troubleshooting
Troubleshooting
- Recording button not visible: Ensure
showRecordingButton(true)is set andenableDefaultLayout(true)is enabled - onRecordingStarted / onRecordingStopped not firing: These listeners require JS SDK v3.0.8 or later
- Recording not found on Dashboard: Recordings may take a few minutes to process after the call ends
Next Steps
Call Session
Start and manage call sessions with full configuration options
Ringing
Implement a complete calling experience with incoming and outgoing call UI
Video View Customisation
Customize the main video container and participant tiles
Call Logs
Retrieve and display call history including duration and participants