Specifying AVFormatIDKeyIOS causes recording to fail #366
Labels
1️⃣ good first issue
Good for newcomers
🙏 help wanted
Extra attention is needed
📱 iOS
Related to iOS
🍚 need contribution
Need PR
Version of react-native-audio-recorder-player
3.0.12
Version of React Native
0.64.2
Platforms you faced the error (IOS or Android or both?)
IOS
Expected behavior
When using
AVFormatIDKeyIOS
option and any of theAVEncodingOption
options, the audio should record in those formats.Actual behavior
When using
AVFormatIDKeyIOS
option, and specifying any of theAVEncodingOption
other thanaac
, an error is thrown statingError occured during recording
.Steps to reproduce the behavior
this.state.audioRecorderPlayer.startRecorder(undefined, { AVFormatIDKeyIOS: AVEncodingOption.amr })
Side issue
Specifying a custom URI when calling the
startRecorder
method leads to the file not being found when recording is finished?The text was updated successfully, but these errors were encountered: