Add CometChat voice and video calling to JavaScript apps with one-on-one calls, group calls, screen sharing, recording, and call logs.
CometChat’s Calling SDK enables you to add voice and video calling to your JavaScript application. The Calling SDK works alongside the Chat SDK to provide a complete communication experience including 1-on-1 calls, group calls, and conference sessions.
The Chat SDK’s calling methods are superseded.CometChat.initiateCall, acceptCall, rejectCall, endCall, startCall, getActiveCall, clearActiveCall and the Chat SDK’s CallSettings still work, but ringing now runs on the Calls SDK 5.1: CometChatCalls.initiateCall, connect, session.join(container), endCall(sessionId, status) and session.leave(). See Ringing and Migrating from Legacy Ringing.Not superseded: CometChat.addCallListener and CallListener, which still deliver an incoming call to an open tab on the web, and the Call message model and the CometChat.CALL_STATUS and CometChat.CALL_TYPE values, because call messages in a conversation’s history still use them.