Audio is only outputting from the front speaker.

Hello, I’m using Expo-Video along with Expo-Audio, but the audio only comes out on the front speaker. I’ve tested some alternatives, but I still have not got any results.

Audio:

 try {
      Audio.setAudioModeAsync({
        allowsRecordingIOS: false,
        interruptionModeIOS: Audio.INTERRUPTION_MODE_IOS_DO_NOT_MIX,
        playsInSilentModeIOS: true,
        shouldDuckAndroid: true,
        interruptionModeAndroid: Audio.INTERRUPTION_MODE_ANDROID_DO_NOT_MIX,
      });
    } catch (e) {
      this.props.errorCallback({
        type: 'NON_FATAL',
        message: 'setAudioModeAsync error',
        obj: e,
      });
    }

Hey @voittoti,

When you say you’ve tested alternatives, do you mean you’ve tried other audio library solutions and it’s still only coming out of the front speaker? If so, I’d be inclined to think it’s a problem with the device.

Cheers,
Adam

No, I just tested the expo library. I already tested on several devices but still could not solve, all of them Android & IOS the audio comes out through the front speaker.

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