AVCaptureSession only got video buffer

为君一笑 提交于 2019-11-30 23:23:20

CaptureSession does not get output audio sample buffer, when it takes to much time to handle video output, this was in my case. Video and audio output buffers go to you in same queue, so you need to give enough time for handle both, before new buffer will come.

Most likely, this code is a reason: [NSThread sleepForTimeInterval:0.03];

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