You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This commit was created on GitHub.com and signed with GitHub’s verified signature.
New
Added ringing through the Calls SDK. CometChatCalls.initiateCall(receiver, options) starts a call to a user or group and prepares its session, CometChatCalls.connect(sessionId, sessionSettings) prepares a session while it rings so answering joins almost immediately, and CometChatCalls.endCall(sessionId, status) ends it with an EndCallStatus (rejected, cancelled, busy or unanswered) that the other side receives.
Added CometChatCalls.getActiveSession() to return the live session as a CallSession, with leave(), isSessionJoined(), isSessionActive(), getSessionState(), getParticipants() and prepareStatus on the session object.
Added a sessionId prop on CometChatCalls.Component, which joins a session prepared with connect() or initiateCall().
Added the onConnected and onParticipantConnected events, which fire while a session is prepared and before the user joins.
Enhancements
Improved screen sharing on React Native: a remote screen share now moves on stage, and its lower quality layers are kept so viewers on weaker connections still receive it.
Removed the join and leave notifications from one-to-one calls.
Disabled the peer-to-peer connection for calls that use autoStartRecording.
Fixes
Fixed a remote screen share showing a black tile when a weak connection paused it. The tile now shows the sharer's avatar with a message explaining the pause, and the video returns when the connection recovers.
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.
Breaking Changes
Raised the required react-native-webrtc version from 124 to 155. Apps must update the dependency to ^155.0.1 to use 5.1.0, then run pod install on iOS.