Skip to content

Commit b7f939b

Browse files
committed
Update AudioSesssionPolicy when joining a call via scanning a qr
1 parent e43d8fa commit b7f939b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

DemoApp/Sources/Views/CallView/CallingView/DemoCallingViewModifier.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,7 @@ struct DemoCallingViewModifier: ViewModifier {
9999
await call.updatePublishOptions(
100100
preferredVideoCodec: AppEnvironment.preferredVideoCodec.videoCodec
101101
)
102+
await call.updateAudioSessionPolicy(AppEnvironment.audioSessionPolicy.value)
102103
_ = await Task { @MainActor in
103104
viewModel.update(
104105
participantsSortComparators: callType == .livestream

0 commit comments

Comments
 (0)