Play recorded audio files on both Android ans iOS

I am using the Audio.Recording class of AV to record sounds on my Chat App.
On Android when using the default audio preset config for LOW_QUALITY, it returns an audio file with the extension .3gp
And on iOS it returns an audio file with the extension.caf

The problem is that the Sound Player cannot play .caf files on Android and the same way, .3gp files cannot been played on iOS.

Is there any way to record audio files so that there can been played on both OS Platforms automatically ?

I have also try order customs recordingOptions, but nothing works for both OS.

1 Like

I’m facing the same issue this very moment

I noticed itunes on my mac wasn’t playing files recorded with android.
It started playing it when I just changed the extension of the file to .m4a!
That’s the format the high-quality format on android uses.
I just made the file I upload have a .m4a in the name and it started playing on iOS