I noticed that AVAudioRecorder (iOS) freezes when I pause and resume 8 or more times during recording. It hangs endlessly on the simulator, and on the device I get the following errors:
AudioQueueStop publication post for killing mediaserverd
Does anyone know how to prevent this, or is there a workaround? My problem is that I try to upload the file to AVAudioPlayer after that, and as a result, the downloaded file has no duration (and does not play). The strange thing is that I can save the file and then play it just fine. I'm still not sure at what point the file is being played, but I hoped that if there was a problem with the recorder, I would not need a workaround.
source
share