Trying to use Expo Audio to record and play sound at the same time

  1. Using the latest SDK
  2. Platforms(Android/iOS/web/all): iOS

I’m building an app in which a user can make a voice recording and play sound effects from their phone at the same time as making a recording. I have nearly everything working except that as soon as you initiate a recording with Expo Audio it sets playback to the earpiece. If I try to override this by setting allowsRecordingIOS to false it stops the recording (which makes sense).

So my question is how do I override audio playing through the ear piece to have it play through the speaker WITHOUT setting allowsRecordingIOS to false? Is my only choice here to eject to ExpoKit and use a native bundle??



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