error code:-66637 for AudioOutputUnitStart

Hi,

I'm developing iOS VOIP app with CallKit, and sometimes the AudioOutputUnitStart failed with an error code -66637, and when this error happen, the app could't record the voice but playout is ok, this -66637 failure appeared randomly.

Please advise how to diagnose and fix the issue.😢

Replies

Hmm, I've seen this error when I try to record video with audio and then subsequently try to playback remote HLS files. Something happens during the recording that makes playback fail later and I'm not sure what.


To be clear if I do:


Play video1 - works fine

Play video2 - works fine

Record video3 - works fine

Play video1 - fails


Any ideas? Does -66637 have something to do with audio sessions?

  • Any updates on this issue? I'm having the same problem moving from videoChat mode to default playback

Add a Comment