kevinresol / react-native-sound-recorder

Simplest Sound Recorder for React Native
MIT License
119 stars 36 forks source link

When recording on iOS, in AMR audio format, start throws with empty object as error #50

Closed tomsotte closed 3 years ago

tomsotte commented 3 years ago

When recording on iOS 14, either simulator or physical device, using AMR audio format, start throws an empty object {} as error. I've looked around and it seems the AMR audio format is no longer being supported by AVPlayer so I suppose it's not available for recording as well..?

I've tried with both the iOS AMR audio format variants. Without specifying a format I can record correctly.

kevinresol commented 3 years ago

This library only aims to expose the available options. It is up to the OS to decide what is actually supported. So no action can be done here.