Skip to content

Commit 0c07bc1

Browse files
authored
added CallPreferences to consumeIncomingCall (#875)
1 parent afa9cb2 commit 0c07bc1

File tree

3 files changed

+12
-0
lines changed

3 files changed

+12
-0
lines changed

packages/stream_video/CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
## Unreleased
2+
3+
✅ Added
4+
* Added `CallPreferences? preferences` parameter to `consumeIncomingCall()` method in `StreamVideo` to make it possible to configure the consumed call.
5+
16
## 0.8.1
27

38
✅ Added

packages/stream_video/lib/src/stream_video.dart

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -901,6 +901,7 @@ class StreamVideo extends Disposable {
901901
Future<Result<Call>> consumeIncomingCall({
902902
required String uuid,
903903
required String cid,
904+
CallPreferences? preferences,
904905
}) async {
905906
_logger.d(() => '[consumeIncomingCall] uuid: $uuid, cid: $cid');
906907
final manager = pushNotificationManager;
@@ -926,6 +927,7 @@ class StreamVideo extends Disposable {
926927
ringing: true,
927928
metadata: callResult.data.metadata,
928929
),
930+
preferences: preferences,
929931
);
930932

931933
return Result.success(call);

packages/stream_video_flutter/CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
## Unreleased
2+
3+
✅ Added
4+
* Added `CallPreferences? preferences` parameter to `consumeIncomingCall()` method in `StreamVideo` to make it possible to configure the consumed call.
5+
16
## 0.8.1
27

38
✅ Added

0 commit comments

Comments
 (0)