syedhali/EZAudio

Failed to write audio data to recorded audio file (-66560)

Simeryn opened this issue · 4 comments

I am trying to use the app for recording voice of caller when a call is made. But after the call ends the app crashes and I get this error. Also, the file becomes corrupted. Could you please help in knowing what the error indicates and how can this be fixed.
Thank you.

glm4 commented

For me, the problem was causing by appending buffer to the recorder after the closeFile().
Check out the example, they use an isRecording var to control this. Hope it helps

@Simeryn have you got the solution for same

@Simeryn I get the same problem, have you got the solution?

No, @sunil28011 @czjeep I didn't.