AAC audio recorded in Android is not playing in iOS devices. Here is the code example how we are recording the audio in Android device. When we try to play that audio in iOS device using react-native-sound, It won't play and shows error like this.
Failed to load the soundand iOS exception read as below.
Objectcode: "ENSOSSTATUSERRORDOMAIN1937337955"domain:"NSOSStatusErrorDomain"message: "The operation couldn't be completed. (OSStatus error 1937337955.)"nativeStackIOS: Array[17]userInfo: Object__proto__: Object
AudioRecorder.prepareRecordingAtPath('/path/to/audio/test.aac', { SampleRate: 22050, Channels: 1, AudioQuality: "Low", AudioEncoding: "aac", AudioEncodingBitRate: 32000});
We are using RN 0.41 and react-native-audio 3.2.1
DId anyone face similar issue? let me know if there is any misconfiguration.