-
Notifications
You must be signed in to change notification settings - Fork 274
Description
Package version
6.1.1
Environment
- OS: iOS
Describe the bug
If you start a recording and the app is in foreground, receiving a call pauses the recording, but the recording resumes automatically after the call ends.
If you start a recording and put the app in background, receiving a call pauses the recording, but the recording never resumes after the call ends.
Add your record configuration RecordConfig(encoder: encoder, numChannels: 1, audioInterruption: AudioInterruptionMode.pauseResume);
To Reproduce
Steps to reproduce the behavior:
- Take the sample app
- Add
audioInterruption: AudioInterruptionMode.pauseResumetoRecordConfiginRecorder._start() - Run the app in iOS
- Start a recording
- Put the app in background
- Take a call or FaceTime
- End the call.
- Put the app in foreground
Although RecorderSessionExtension.onAudioSessionInterruption() and AudioRecordingDelegate.resume() are being called, the recording doesn't resume
Expected behavior
After the call ends, the recording automatically resumes, as it does when the app is in the foreground
Additional context