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.