stream_video_flutter 0.5.2 stream_video_flutter: ^0.5.2 copied to clipboard
The Official UI package for Stream Video, a service for building video calls, audio rooms, and live-streaming applications.
0.5.2 #
π Fixed
- Fixed CallKit integration on iOS when app is in a terminated state. It now correctly openes the app when the call is accepted.
- Fixed
onLeaveCallTap
callback inStreamCallContent
. It's now correctly handled. - (Android) Prevented the app from crashing when microphone permission is not granted and actove call foreground services is started. The service will now not start if no permission is granted.
- (Android) Marked the active call notification channel's lockscreen visibility as public to ensure it shows when the Android device is locked.
π 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
- Added
streamVideo
paramter toStreamLobbyView
andStreamLobbyVideo
widgets provide a customStreamVideo
instance.
π 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. - The
FloatingViewAlignment
enum is now properly exported in thestream_video_flutter
package.
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 adjastment during the call on Android.
0.3.6 #
β Added
- Added
callEvents
stream toCall
that replacesevents
andcoordinatorEvents
streams (both are now deprecated). - Added
callBackgroundBuilder
toStreamOutg/oingCallContent
.
π§ Breaking changes
- Removed the
callCid
parameter requirement fromsendCustomEvent()
method inCall
class.
π Fixed
- Fixed an issue that caused an empty Call participants list in CallState 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
- Fixed an issue in
LobbyView
where camera/microphone state selected would not be correctly applied into the call
0.3.4 #
- Fixed the size of the LeaveCall aciton button in
CallAppBar
- Added
showLeaveCallAction
property toCallAppBar
0.3.3 #
π§ UI changes to SDK components
CallParticipantsLabel
- removed internal padding, it sticks to the corner of the video frame by default now- Extracted
StreamLobbyVideo
widget fromStreamLobbyView
that can be easly reused in custom layout CallAppBar
LeaveCallOption
moved from default call controls toCallAppBar
- Participants button removed from
CallAppBar
together withonParticipantsInfoTap
andparticipantsInfoBuilder
properties - Layout Mode button removed from
CallAppBar
together withonLayoutModeChanged
property. You can use newToggleLayoutOption
instead in custom layout anywhere
ToggleLayoutOption
added- Components related to participants menu item from
CallAppBar
are removed:CallParticipantsInfoItem
,StreamCallParticipantsInfoMenu
andCallParticipantsInfoOptions
StreamCallParticipantsInfoMenuTheme
is removed
Other changes:
- 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.
- Fixed background image for incoming/outgoing call screens when
participant.image
is invalid. - 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.
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
- The functionality from
stream_video_flutter_background
is now merged intostream_video_flutter
. You no longer have to use the background plugin. - Removed the
incomingCallerNameOverride
andincomingCallerHandlerOverride
fromStreamVideoPushParams
in favor of the newcallerCustomizationCallback
inStreamVideoPushNotificationManager
.
β Added
- Added
LivestreamPlayer
- a in-built widget that allows you to easily view livestreams. - Added screen sharing functionality and related toggle option for both Android and iOS. Check our documentation for more details
- Exposed call coordinator events through the
coordinatorEvents
stream in theCall
class. - Added
StreamCallContentTheme
to video theme. 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. - Added
team
,notify
, andcustom
properties togetOrCreate()
forCall
.
π Fixed
- Added Apple audio configuration to make audio work in silent mode.
- Fixed ringing call cancellation issues.
0.2.0 #
β Added
removeMembers
andupdateCallMembers
toCall
incomingCallerNameOverride
andincomingCallerHandlerOverride
toStreamVideoPushParams
to allow customization of CallKit call screenparticipantsAvatarBuilder
andparticipantsDisplayNameBuilder
toStreamOutgoingCallContent
andStreamIncomingCallContent
to allow customiztion of Incoming and Outgoing call screens
Example usage:
StreamCallContainer(
...
outgoingCallBuilder: (context, call, callState) =>
StreamOutgoingCallContent(
call: call,
callState: callState,
participantsDisplayNameBuilder:
(context, call, callState, participants) => your widget here,
),
)
π 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
- Fixed landscape call control visibility
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
- Hide debug stats in production
- Display call participants in lobby view
- General bug fixes and improvements
0.0.4 #
- Updated minimum supported
SDK
version to Flutter 3.10/Dart 3.0
0.0.3 #
- Fixed track subscription bug
0.0.2 #
- Updates for backend
- Support for reactions
0.0.1+1 #
- Fixed README
0.0.1 #
- Initial beta release of Stream Video π