react-native-audio-recorder-player
react-native-audio-recorder-player copied to clipboard
Facing issue in iOS `CreateDataFile failed` and `Couldn't create a new audio file object`
Not able to recored the audio in iOS. Getting errors in xcode consloe CreateDataFile failed and Couldn't create a new audio file object. In android working perfect. When I am giving just name in path like audioFile.acc it's working fine but when using RNFS path that time getting error.
- "react-native-audio-recorder-player": "^3.6.5"
- "react-native": "0.73.0"
- IOS
Expected behavior: I want to store audio on RNFS.DocumentDirectoryPath Actual behavior: Error starting recording: [Error: Error occured during initiating recorder]
const currentDate = generateUniqueString().toString();
const name = `${currentDate}.acc`;
const path = RNFS.DocumentDirectoryPath + `/${name}`;
await audioRecorderPlayer.startRecorder(path, audioSet, meteringEnabled);
Still on my list, did a couple of upgrades since then. Will have to take this from zero and update this PR
@williamdes can you retry OPNsense 24.1? We made some changes in zfs handling, see https://github.com/opnsense/core/commit/d766ae211c0ab268a038c92c2fedde3bcda96017 .
Sure, I will upgrade my firewalls and report back on writes