cometchat_calls_sdk 5.0.7
cometchat_calls_sdk: ^5.0.7 copied to clipboard
Integrate voice & video calling into your Flutter app with CometChat's Calls SDK. Create real-time communication for better user engagement.
5.0.7 #
New #
- Added call transcription and live closed captions across the JavaScript, React Native, Android, iOS, and Flutter SDKs. Added APIs to start and stop transcription, configure transcription through session and call settings, and fetch transcripts with pagination.
Enhancements #
- None
Fixes #
- Fixed an iOS/React Native build failure where WebRTCModuleOptions.h could not be found. Updated header resolution to support use_frameworks!, namespaced public headers, and bare header search paths.
5.0.6 #
New #
- Added optional iOS system Picture-in-Picture. When
enableIOSPictureInPictureis turned on, the call continues in a system PiP window after the app is backgrounded, instead of dropping the video. This is separate from the in-app PiP layout and is off by default.
Enhancements #
- Moved the recording indicator into the header next to the call timer so it no longer covers participant tiles.
- Updated the audio mode button so its icon matches the active route (speaker, earpiece, Bluetooth, or headphones).
- Increased the connection timeout so calls have more time to connect on slower networks.
- Stopped receiving remote video while the app is backgrounded (unless iOS system PiP is active), to reduce bandwidth and battery use.
Fixes #
- Fixed
CallLogRequestBuilderso call history can be fetched fromCometChatCalls. It was previously unavailable on the public API, and requests could fail even when the builder was used directly. - Fixed configured display names being overwritten by the name from the auth token.
- Restored v4-compatible
muteAudio(false)andpauseVideo(false)so passingfalseunmutes audio or resumes video. - Fixed Call UI settings being reapplied on every render, and AppState listeners stacking across remounts.
- Fixed audio devices that omit a uid so they still appear and can be selected.
5.0.4 #
Breaking: the minimum supported iOS version is now 15.1 (previously 13.0). This follows the native iOS Calls SDK, whose binary requires 15.1.
Enhancements #
- Updated the underlying native SDKs from 5.0.0 to 5.0.2 on both Android and iOS. This brings across the fixes released there, including the in-call audio device menu, faster call start from preloading WebRTC, corrected audio routing (earpiece for voice calls, no forced speaker for video), and fixes for false "connection lost" messages and one-to-one calls not ending when the last participant left.
- Added SDK identification telemetry. When the Calls SDK is used standalone (without the CometChat Chat SDK present), it now reports basic SDK identification — app ID, app version, SDK version and integration source — once per login, so usage can be attributed correctly. No call content or participant data is included.
5.0.0-beta.3 #
v4 Backward Compatibility Layer #
- Added deprecated
generateToken,startSession, andendSessionstatic methods onCometChatCallsfor drop-in v4 API compatibility - Added
CometChatCallsEventsListenerdeprecated mixin with all v4 event callbacks - Added
CallSettingsBuilder.listenerdeprecated setter - Added
CallSettings.toSessionSettings()conversion method - Added
V4EventListenerAdapterthat bridges v5 focused listeners to v4 callbacks - Added
RTCUser.fromParticipantandGenerateToken.fromCallTokenfactory constructors
iOS Native Compatibility #
- Added
CometChatRTCViewObjC stub for Chat SDK v4checkCallsFramework()runtime check - Added
setAuthTokenmethod channel to restore native auth state after SDK re-initialization - Auth token is now bridged to the native iOS SDK via the deprecated
generateToken(authToken:sessionID:)side effect
Auth Token Bootstrapping #
- Deprecated
generateTokennow callsloginWithAuthTokeninternally to bootstrap v5 SDK state - Auth token passed by v4 consumers is cached for subsequent operations like
getUserAuthToken()and call logs
Barrel File #
- Exported
Userclass (removedhide Userrestriction) to fix example app compilation
Example App #
- Added
GIDClientIDto iOSInfo.plistfor Google Sign-In
5.0.0-beta.2 #
- Initial v5 Flutter Calls SDK with new API surface
CometChatCalls.joinSessionwith session ID or call tokenSessionSettings/SessionSettingsBuilderreplacingCallSettings- Focused listener protocols:
SessionStatusListeners,ParticipantEventListeners,MediaEventListeners,ButtonClickListeners,LayoutListeners CallSessionsingleton for session control- Call logs API with
CallLogRequestBuilder - iOS CallKit integration
- Background call handling
- Picture-in-Picture support
0.0.1 #
- Initial release placeholder.