mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-04-26 11:30:50 +02:00
Fix #7325: prevent setting the audio session to inactive during recording Fix #7217: ensure that an audio player has its content loaded when it reaches the end to allow seek and replay.
This commit is contained in:
@@ -191,7 +191,9 @@ import MediaPlayer
|
||||
continue
|
||||
}
|
||||
|
||||
audioRecorder.stopRecording()
|
||||
// We should release the audio session only if we want to pause all services
|
||||
let shouldReleaseAudioSession = (service == nil)
|
||||
audioRecorder.stopRecording(releaseAudioSession: shouldReleaseAudioSession)
|
||||
}
|
||||
|
||||
guard let audioPlayersEnumerator = audioPlayers.objectEnumerator() else {
|
||||
|
||||
Reference in New Issue
Block a user