Audio recording interruption in IOS

Hello,
I’m trying to record audio with my app, but the recording stops when my iPhone receives a phone call. This happens with all the available audio modes of interruption (‘mix’, ‘do not mix’ and ‘duck’).

My android app keeps recording using duck.

Anyone know why this would happen?

I’m using sdk32

Thanks!
Gabo.

Hey @gaboleskul,

Would you mind creating a Github issue for this with a reproducible example and as much detailed information as you can provide?

Cheers,
Adam

Hi Adam,
For sure, I’ll do that when I’m done fixing my app. I think the issue is that, according to AppState, the IOS app passes through a state of “inactive” before being backgrounded. That does not happen on Android, it goes straight to background. Right now I’m using that info to stop and resume my recording.

Gabo.

Nice! Thanks for the update.

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.