Skip to content

Commit 47f388d

Browse files
authored
[Fix]video parameter when creating a call should be respected (#818)
1 parent c4b2817 commit 47f388d

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
1111
### 🐞 Fixed
1212
- Fix a retain cycle that was causing StreamVideo to leak in projects using NoiseCancellation. [#814](https://github.com/GetStream/stream-video-swift/pull/814)
1313
- Fix occasional crash caused inside `MicrophoneChecker`. [#813](https://github.com/GetStream/stream-video-swift/pull/813)
14+
- Fix `video` parameter wasn't respected when creating Calls, causing CallKit notifications to always show a call as `audio`. [#818](https://github.com/GetStream/stream-video-swift/pull/818)
1415

1516
# [1.22.2](https://github.com/GetStream/stream-video-swift/releases/tag/1.22.2)
1617
_May 13, 2025_

Sources/StreamVideo/Call.swift

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -324,7 +324,10 @@ public class Call: @unchecked Sendable, WSEventsSubscriber {
324324
video: video
325325
),
326326
notify: notify,
327-
ring: ring
327+
ring: ring,
328+
// This parameter is required for setting the video/audio in the
329+
// CallKit VoIP notifications.
330+
video: video
328331
)
329332
let response = try await coordinatorClient.getOrCreateCall(
330333
type: callType,

0 commit comments

Comments
 (0)