Failed to write audio data to recorded audio file (-66560)
Simeryn opened this issue · comments
Simeryn Denis commented
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.
German 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
sunil singh commented
@Simeryn have you got the solution for same
Simeryn Denis commented
No, @sunil28011 @czjeep I didn't.