Closed buffge closed 5 years ago
react-native-audio : 4.3.0 react-native : 0.60.5 react : 16.8.6 using react-native-sound ? Yes System: ios
const audioPath = AudioUtils.DocumentDirectoryPath + "/tempAudio.aac" AudioRecorder.prepareRecordingAtPath(audioPath, { SampleRate: 22050, Channels: 1, AudioQuality: "Low", AudioEncoding: "aac", }) l wan't record audio
When call prepareRecordingAtPath will Error
l don't do any thing before call prepareRecordingAtPath function
l has resolve this. In ios , this function don't have return value.
Version
react-native-audio : 4.3.0 react-native : 0.60.5 react : 16.8.6 using react-native-sound ? Yes System: ios
Expected behaviour :
const audioPath = AudioUtils.DocumentDirectoryPath + "/tempAudio.aac" AudioRecorder.prepareRecordingAtPath(audioPath, { SampleRate: 22050, Channels: 1, AudioQuality: "Low", AudioEncoding: "aac", }) l wan't record audio
Actual behaviour
When call prepareRecordingAtPath will Error
Steps to reproduce
l don't do any thing before call prepareRecordingAtPath function