Skip to main content

Overview

CometChat provides voice and video calling capabilities for your web application. This guide helps you choose the right implementation approach based on your use case.

Prerequisites

  1. CometChat SDK installed and configured. See the Setup guide.
  2. CometChat Calls SDK added to your project:
npm install @cometchat/calls-sdk-javascript
For detailed setup instructions, see the Calls SDK Setup guide.

Choose Your Implementation

CometChat offers three approaches to implement calling:

Ringing

Use this when you need a complete calling experience with:
  • Incoming and outgoing call UI
  • Call accept/reject/cancel functionality
  • Call notifications via push notifications
  • Integration with CometChat messaging
Flow: Initiate call → Receiver gets notified → Accept/Reject → Start session Get started with Ringing →

Call Session

Use this when you need to:
  • Start a call session after the Ringing flow completes
  • Implement custom call initiation logic with your own UI
  • Join participants to a shared session using a session ID
Flow: Generate token → Start session → Manage call → End session Get started with Call Session →

Standalone Calling

Use this when you want:
  • Calling functionality without the Chat SDK
  • Your own user authentication system
  • Minimal SDK footprint
Flow: Get auth token via REST API → Generate call token → Start session Get started with Standalone Calling →

Features