Skip to content

Commit 690eae5

Browse files
committed
fix for muting call on Android
1 parent 93611cd commit 690eae5

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

packages/stream_video_push_notification/lib/src/stream_video_push_notification.dart

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -420,6 +420,11 @@ class StreamVideoPushNotificationManager implements PushNotificationManager {
420420

421421
@override
422422
Future<void> setCallMutedByCid(String cid, bool isMuted) async {
423+
// Muting call on CallKit screen
424+
if (!CurrentPlatform.isIos) {
425+
return;
426+
}
427+
423428
final activeCalls = await this.activeCalls();
424429
final calls = activeCalls
425430
.where((call) => call.callCid == cid && call.uuid != null)

0 commit comments

Comments
 (0)