Expo Audio: Expo-AV only allow m4a and 3gp extensions on Android

Please provide the following:

  1. SDK Version:37
  2. Platforms(Android/iOS/web/all): Android

I am trying to record audio using expo audio.
Right now, I am only able to record the audio in .m4a and .3gp on android.
However, I need the audio to be in .mp3 format.
The audio is being recorded but it is not in mp3 format even after I state the recording settings to be in mp3 format.

Below is a snippet of my code:


Any advice will be much appreciated here. Thank you.

2 Likes

Yes. Does anyone has a solution to this? I tried the default preset recordings,
Audio.RECORDING_OPTIONS_PRESET_HIGH_QUALITY and Audio.RECORDING_OPTIONS_PRESET_LOW_QUALITY does not give .mp3 file.

2 Likes

Facing this issue as well, hoping for some advice too.

Still facing this problem. Tried all methods and also mix and match all the available outputFormat and audioEncoder as documented in the Expo-AV documentation but to no avail.