Skip to content

Commit d466251

Browse files
authored
SDK's audio sessions interrupt spoken audio from other apps. (#4803)
1 parent 428e71b commit d466251

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,10 @@
1010

1111
* Fixed an issue where the initially set CarPlay navigation camera values were being overwritten when updates to this property were disabled.
1212

13+
### Audio
14+
15+
* Fixed an issue that audio sessions activated by the SDK (for playback of voice instructions and reroute sound) were not interrupting spoken audio content playback from other applications (e.g. Podcasts).
16+
1317
## v2.20.2
1418

1519
### Routing

Sources/MapboxNavigation/Audio/AVAudioSessionHelper.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ final class AVAudioSessionHelper {
1515
let settings: Settings = Settings(
1616
category: .playback,
1717
mode: .voicePrompt,
18-
options: [.duckOthers, .mixWithOthers]
18+
options: [.interruptSpokenAudioAndMixWithOthers, .duckOthers]
1919
)
2020

2121
private init() {}

0 commit comments

Comments
 (0)