cometchat_calls_sdk 5.0.3
cometchat_calls_sdk: ^5.0.3 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.3 #
New #
- Added recording retry support to improve recording reliability during temporary network or service interruptions.
- Added enhanced toast notifications to provide clearer feedback for recording and call-related events.
- Added improved streaming status management for media tracks, enabling better handling of interrupted and resumed streams.
Enhancements #
- Improved media stream interruption detection by introducing timeout-based streaming status handling.
- Enhanced conference recording management to automatically handle recording state changes for moderators.
- Improved video track lifecycle management by handling track replacement and cleanup during mute and unmute operations.
- Enhanced connection error handling to provide more reliable session and call state management.
Fixes #
- Fixed an issue where recorder state updates could fail when unexpected request errors occurred.
- Fixed an issue where interrupted media streams were not consistently detected or reported.
- Fixed an issue where connection event listeners remained active after a successful connection, resulting in unnecessary event processing.
Compatibility #
- iOS minimum deployment target is now 15.1 (required by the underlying native CometChat Calls SDK).
- Bumped native dependencies to 5.0.1 (
com.cometchat:calls-sdk-androidandCometChatCallsSDKfor iOS).
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.