Package version
6.1.1
Environment
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.pauseResume to RecordConfig in Recorder._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
PoC.zip
Package version
6.1.1
Environment
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:
audioInterruption: AudioInterruptionMode.pauseResumetoRecordConfiginRecorder._start()Although
RecorderSessionExtension.onAudioSessionInterruption()andAudioRecordingDelegate.resume()are being called, the recording doesn't resumeExpected behavior
After the call ends, the recording automatically resumes, as it does when the app is in the foreground
Additional context
PoC.zip