stream_video 0.5.1
stream_video: ^0.5.1 copied to clipboard
The Official Low-level Client for Stream Video, a service for building video calls, audio rooms, and live-streaming applications.
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 🚀