react-native-sound-recorder icon indicating copy to clipboard operation
react-native-sound-recorder copied to clipboard

`Cannot record audio at path`

Open KrisLau opened this issue 3 years ago • 3 comments

Not sure why but whenever i call

await SoundRecorder.start(
  SoundRecorder.PATH_CACHE + '/intro.mp4',
) 

I get the error : Cannot record audio at path: file:///Users/newuser/Library/Developer/CoreSimulator/Devices/E478DE65-BB47-40D1-9458-0900DF9F8CB6/data/Containers/Data/Application/943974CE-A0DE-45ED-B7D3-12F73CBCF6E1/Library/Caches/intro.mp4

KrisLau avatar May 03 '22 13:05 KrisLau

Not sure if this will work on simulators at all. Did you try on real devices?

kevinresol avatar May 03 '22 18:05 kevinresol

Also did you obtain the required permissions?

kevinresol avatar May 03 '22 18:05 kevinresol

Not sure if this will work on simulators at all. Did you try on real devices?

Nope I only tested on my simulator. I'll try it on a real device in a sec

Also did you obtain the required permissions?

Yup I tried with and without

KrisLau avatar May 05 '22 14:05 KrisLau

@KrisLau Any luck on the issue, I'm also facing the same problem, both in emulator and real device

Lordhacker756 avatar Apr 27 '23 19:04 Lordhacker756

@Lordhacker756 It works on a device

KrisLau avatar Apr 27 '23 20:04 KrisLau

@KrisLau , Can you please guide me on why am I getting an empty error on starting the recording?

Screenshot 2023-04-28 at 2 00 59 AM

Lordhacker756 avatar Apr 27 '23 20:04 Lordhacker756