Record and play audio with AVAssetWriter

荒凉一梦 提交于 2019-12-02 04:49:21

Per Apple Support:

this is therefore the bug -- the file is created, a number of samples are written successfully then append starts failing for some unknown reason.

It seems that AVAssetWriter fails only with these settings.

AudioQueue is what should be used for ulaw audio

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!