Skip to content

v5.1.0

Latest

Choose a tag to compare

@jitvarpatil jitvarpatil released this 29 Oct 12:00
78df8b5

New

  • Added ringing through the Calls SDK. CometChatCalls.initiateCall(...) starts a call to a user or group and prepares its session, CometChatCalls.connect(sessionId, ...) prepares a session while it rings so answering joins almost immediately, and CometChatCalls.endCall(...) ends it with an EndCallStatus (rejected, cancelled, busy or unanswered) that the other side receives.
  • Added CometChatCalls.getActiveSession() to return the live session, and leave(), isSessionJoined(), isSessionActive(), getParticipants() and prepareStatus on the session object.
  • Added the onConnected and onParticipantConnected events, which fire while a session is prepared and before the user joins.

Enhancements

  • Improved screen sharing quality: a shared screen on stage is capped at 1080p, and its lower quality layers are kept so viewers on weaker connections still receive it.

Fixes

  • Fixed a participant being shown as muted when their audio track had not been identified yet.
  • Fixed the session staying open after the user was removed from the call.
  • Fixed one-to-one calls showing a reconnecting state and holding the call when the direct peer-to-peer link dropped while the media server link was still up.