stream_video 0.6.0 stream_video: ^0.6.0 copied to clipboard
The Official Low-level Client for Stream Video, a service for building video calls, audio rooms, and live-streaming applications.
0.6.0 #
This release introduces a major rework of the join/reconnect flow in the Call class to support Reconnect V2, enhancing reconnection handling across various scenarios. Most updates are within the internals of the Call class, though some changes are outward-facing, including a few breaking changes.
π Changed
Call.reject()
method will now always callCall.leave()
method internally.
π§ Breaking changes
- Removed the deprecated
Call.joinLobby()
method. - The
maxDuration
andmaxParticipants
parameters ofCall.getOrCreate()
are now combined into theStreamLimitsSettings? limits
parameter.
π Dependency updates
- Updated Firebase dependencies to resolve Xcode 16 build issues.
β Added
- Added the
registerPushDevice
optional parameter (default istrue
) to theStreamVideo.connect()
method,allowing the prevention of automatic push token registration. - Added
participantCount
andanonymousParticipantCount
toCallState
reflecting the current number of participants in the call. - Introduced the
watch
parameter toCall.get()
andCall.getOrCreate()
methods (default istrue
). When set totrue
, this enables theCall
to listen for coordinator events and update its state accordingly, even before the call is joined (Call.join()
). - Added support for
targetResolution
setting set on the Dashboard to determine the max resolution the video stream. - Introduced new API methods to give greater control over incoming video quality.
Call.setPreferredIncomingVideoResolution()
allows you to manually set a preferred video resolution, whileCall.setIncomingVideoEnabled()
enables or disables incoming video. For more details, refer to the documentation.
π Fixed
- Automatic push token registration by
StreamVideo
now stores registered token inSharedPreferences
, performing an API call only when the token changes. - Fixed premature ringing termination issues.
- Resolved issues where ringing would not end when the caller terminates the call in an app-terminated state.
- Fixed issue with call not ending in some cases when only one participant is left and
dropIfAloneInRingingFlow
is set totrue
.
0.5.5 #
π Fixed
- Migrated from
internet_connection_checker
tointernet_connection_checker_plus
due to license issues
0.5.4 #
π Fixed
- Fixed an issue where active call foreground service was recreated after being stopped when ringing call was declined and in-app incoming screen was displayed.
π§ Breaking changes
-
The regular push notification handling has been removed from iOS, providing more control over the implementation. VoIP push notifications will continue to be handled as before. For more details, refer to the documentation.
-
Dependency updates
- Flutter SDK constraint updated to >=3.22.0 (Dart SDK to >=3.4.0 <4.0.0)
internet_connection_checker
updated from ^1.0.0+1 to ^2.0.0rxdart
updated from ^0.27.7 to ^0.28.0web
updated from ^0.5.1 to ^1.0.0web_socket_channel
updated from ^2.4.0 to ^3.0.1
0.5.3 #
π Fixed
- Improved video quality for a smoother experience.
- Resolved an issue where the participant's state showed an empty roles list.
- Fixed a bug that caused the CallKit ringing notification to continue after a call was accepted.
0.5.2 #
π Changed
SortParam
changed toSortParamRequest
inqueryMembers()
method insideCall
andStreamVideo
class
0.5.1 #
β Added
- Added
backstage
parameter tocall.getOtCreate()
method with backstage settings. For more information, refer to the documentation- Ability to join call in advance with
joinAheadTimeSeconds
parameter (part ofStreamBackstageSettings
)
- Ability to join call in advance with
- Added
startsAt
parameter tocall.getOtCreate()
method - Added
maxDuration
andmaxParticipants
parameters tocall.getOtCreate()
method - Added
video
parameter tocall.getOtCreate()
,call.getCall()
andcall.join()
methods. This parameter is used to distinguish between audio-only and video calls for ringing purposes.- βImportantβ the
video
parameter isfalse
by default. If you want your call to be treated as a video call while ringing set it totrue
.
- βImportantβ the
π Fixed
- Fixed reaction dismissal: Sent and received reactions are now correctly dismissed after a 5-second timeout (configurable in
CallPreferences
). - Fixed the cancel button behavior in the screen-sharing notification on Android. It will now correctly stop the screen-sharing process.
- Fixed the issue with the cancel button in the call-in-progress notification was not stopping the call.
- Fixed the connection quality updates for other call participants.
- Fixed an issue where declining a ringing call when the app was in a terminated state did not stop the ringing on the caller's end.
0.5.0 #
β Added
- Picture in Picture (PiP) is now also supported on iOS. For more information, refer to the documentation
π Fixed
- Fixed an issue where the microphone was being muted when the app was running in the background on Android versions greater than 14.
π§ Breaking changes
- The implementation of
BroadcastSampleHandler
, used forbroadcast
screen-sharing mode on iOS is now moved fromstream_video_flutter
package to a separate stream_video_screen_sharing package. Migration steps:
- Add
stream_video_screen_sharing
dependency to yourpubspec.yaml
file - Replace the import in
SampleHandler.swift
file fromstream_video_flutter
tostream_video_screen_sharing
- Replace the dependancy added to the extension target in
Podfile
file fromstream_video_flutter
tostream_video_screen_sharing
For complete screen-sharing guide please refer to the documentaiton
- Previously deprecated
String
type
parameters inmakeCall()
andgetCallRingingState()
methods are now removed. UseStreamCallType
callType
parameter now. - Previously deprecated
events
andcoordinatorEvents
streams are now removed fromCall
class. UsecallEvents
instead.
0.4.4 #
β Added
- Added
watch
parameter toStreamVideo.queryCalls()
method, allowing you to subscribe to queried call events. For more information, refer to the documentation. - Introduced
listRecordings()
toStreamVideo
object, enabling you to query call recordings using a provided call CID.
π Changed
- The default constructor for
StreamCallType
is now deprecated. Instead, use theStreamCallType.defaultType()
factory constuctor.
π Fixed
- Improved the quality of screen sharing. It now correctly respects the parameters set in
ScreenSharingConstraints
to adjust the quality.
0.4.3 #
π Fixed
- Fixed reconnection flow.
- Fixed compilation errors on web.
- Fixed screen-sharing not working on some versions of Android.
- Fixed accepting incoming call during another call (or outgoing call).
- Fixed CallKit incoming push label and Android accept call button icons for audio-only calls.
β Added
- Added support for missed calls. Push notifications and
CallMissedEvent
event will be sent now when the user misses the call. - Added support for call transcription check transcription cookbook
- Added
startTranscription()
,stopTranscription()
andlistTranscriptions()
methods toCall
class.
- Added
- Added option to take a screenshot during the call check screenshot documentation
- Added
takeScreenshot()
method toCall
class.
- Added
- Added
recordingExternalStorage
optional param tocall.startRecording()
method. - Added
requestScreenSharePermission()
method toCall
class that ensures correct permissions are given for screen-sharing on Android.
π Changed
- Changed
role
member toroles
, to reflect the possibility of the user having multiple roles, inCallParticipantState
andCallMember
. - Changed
SortParamRequest
toSortParam
.
π Changed some of the signatures
listRecordings()
method in PermissionsManager doesn't requiresessionId
param now.setParticipantPinned()
method inCall
andCallSession
now requiressessionId
,userId
, andpinned
params instead ofSetParticipantPinned
action.updateViewportVisibility()
method inCallSession
now requiresvisibilityChange
param instead ofUpdateViewportVisibility
action.setSubscriptions()
andupdateSubscription()
methods inCallSession
now require a list ofsubscriptionChanges
param instead of a list ofSetSubscription
actions.- Added optional
reason
param toreject()
method inCall
class.
Removed
- Removed
updateSubscriptions
method fromCall
.
0.4.2 #
β Added
- Added
ClientDetails
to SFU'sjoin
request.
π Fixed
- Tweaked SFU events handling to ensure there is no gap in handling them.
- Fixed camera and microphone toggling on incoming/outgoing screen.
- Fixed screen sharing not working when camera track was enabled.
- Fixed issues with video freezing sometimes.
0.4.1 #
π§ Build breaking changes
- Bumped
connectivity_plus
dependency to6.0.3
Note, that this changes the plugin requirements:
- compileSDK 34 for Android part
- Java 17 for Android part
- Gradle 8.4 for Android part
π Fixed
- Added foreground service type to service declaration in AndroidManifest
0.4.0 #
π§ Breaking changes
-
Updated minimum supported dart SDK version to
3.3.0
(which requires min Flutter SDK3.19.0
) -
Updated
flutter_webrtc
to 0.10.4
π Fixed
- Fixed an issue where subscriber offer events might be missed causing missing video/audio tracks for call participants.
- Fixed speakerphone/earpiece switching on iOS.
- User is now diconnected immedietaly when leaving the call.
0.3.9 #
- Reverted
flutter_webrtc
dependency version back to0.9.47
to fix the compilation issues for web in Flutter 3.19.
0.3.8 #
π Fixed
- Fixed application of initial call configuration (via
CallConnectOptions
) and default settings from Stream Dashboard - Default camera facing is now applied from Dashboard settings (was ignored previously)
β Added
audioOutputDevice
,audioInputDevice
andcameraFacingMode
added toCallConnectOptions
- Optional
connectOptions
parameter added tocall.join()
method as a preferred way of setting initial call configuration - check out our documentation for more info
0.3.7 #
- Updated minimum supported SDK version to Flutter 3.16
β Added
- Added
mirrorMode
parameter toCameraConstraints
, which determines whether the camera for the given track should be mirrored or not. When set asdefaultMode
the mirroring is set as true, whenfacingMode
is set touser
and false when facingMode is set toenvironment
.
π Fixed
- Fixed an issue that might break screen sharing functionality.
- Fixed an issue that caused output audio device not being set correctly.
- Fixed an issue that still caused constant notification sound being triggered during the call on Android.
- Fixed an issue that blocked volume adjustment during the call on Android.
0.3.6 #
β Added
- Added
callEvents
stream toCall
that replacesevents
andcoordinatorEvents
streams (both are now deprecated). - Added
callBackgroundBuilder
toStreamOutgoingCallContent
.
π§ Breaking changes
- Removed the
callCid
parameter requirement fromsendCustomEvent
method inCall
class.
π Fixed
- Fixed an issue that caused an empty
Call
participants list inCallState
during ringing. - Fixed an issue that caused constant notification sound being triggered during the call on Android.
- Disabled camera mirroring when using back camera and when screensharing.
0.3.5 #
β Added
- Added
keepConnectionsAliveWhenInBackground
toStreamVideoOptions
to allow keeping websocket connections and event subscribtions open when app is in the background (false by default). - Added support for Picture in Picture feature to Android - check out our documentation for more info
- Added usage statictics reporting
π Fixed
- Fixed handling of default audio output device setting from Stream dashboard
- Fixed handling of default camera/microphone state setting from Stream dashboard
- Fixed an issue where call could sometimes loose participants state
0.3.4 #
- Sync version with
stream_video_flutter
0.3.4
0.3.3 #
- Added
StreamCallType
class that replaces depricated Stringtype
parameter - Exapanded
CallStats
class with more structured WebRTC statistics asstats
field - Changed
raw
statistics inCallStats
to be of a Map<Stirng, dynamic> type - Added
publisherStats
,subsciberStats
andlatencyHistory
to theCallState
that hold some of the processed statistcs
Bug fixes
- Fixes incoming call behavior when both CallKit and Stream incoming screen component is used
- Fixes the issue on Android that caused missed call notification when ringing with reused call id
0.3.2 #
π Fixed
- Various fixes to call ringing and push notifications.
- Fixes call ringing cancellation when app is terminated on iOS (requires additional setup - check Step 6 of the APNS integration) in our documentation.
- Fixes late push notification handling on Android, where already ended call was ringing if the device was offline and the push was delivered with a delay.
- Fixes call ringing cancellation when caller timed out while calling
- Fixed action tap callback on Android call notification.
- Fixes possible crashes for Android SDKs versions <26.
- Fixed screen sharing on iOS when screen sharing mode was switched between
in-app
andbroadcast
. - Changed the version range of
intl
package to >=0.18.1 <=0.19.0 because it was causing isses with other packages.
β Added
- Added
custom
field toCallParticipantState
with custom user data. - Added
CallType
to statically track the type of call (audio, video, screen share).
0.3.1 #
- Important: Fixes crash for CallKit on iOS.
- Added support for SFU migration to improve video resilience.
- Fixes for streaming flags in
CallState
(backstage, broadcasting, recording).
0.3.0 #
π§ Breaking changes
- Removed the
incomingCallerNameOverride
andincomingCallerHandlerOverride
fromStreamVideoPushParams
in favor of the newcallerCustomizationCallback
inStreamVideoPushNotificationManager
.
β Added
callerCustomizationCallback
toStreamVideoPushNotificationManager
that allow dynamic customization of CallKit call screen
Example usage:
pushNotificationManagerProvider: StreamVideoPushNotificationManager.create(
...
callerCustomizationCallback: ({required callCid, callerHandle, callerName}) =>
CallerCustomizationResponse(name: "Customized $callerName"),
),
- Added a
includeUserDetails
field to determine if user details should be passed to backend when connecting user. - Exposed call coordinator events through the
coordinatorEvents
stream in theCall
class. - Added
team
,notify
, andcustom
properties togetOrCreate()
forCall
.
π Fixed
- Added Apple audio configuration to make audio work in silent mode.
- Fixes
queryCalls
response mapping.
π Changed
0.2.0 #
β Added
removeMembers
andupdateCallMembers
toCall
π Changed
Breaking changes π§
- renamed
inviteUsers
toaddMembers
inCall
- renamed parameter name in
getOrCreateCall
fromparticipantIds
tomemberIds
0.1.1 #
- Fixed call join bug
- Fixed CallKit call not ending bug
- Anonymous users can no longer connect to WS
- Users can no longer join a call twice
0.1.0 #
- Aligned SDK initialization with other SDKs
- Fixed callkit and push implementation for SDK
- Added parsing for CallPermissions
- Fix duplicate participants in call
- General bug fixes and improvements
0.0.3 #
- Updated minimum supported
SDK
version to Flutter 3.10/Dart 3.0
0.0.2 #
- Updates for backend
- Support for reactions
0.0.1+1 #
- Fixed README
0.0.1 #
- Initial beta release of Stream Video π