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,
});
}