Consecutive calls to startRecordingToOutputFileURL:

爷,独闯天下 提交于 2019-12-02 20:33:57

Thanks all, for the review and good thoughts on this. Here's the word from Apple DTS...

I spoke with our AV Foundation engineers, and it is definitely a bug in that this method is not doing what the documentation says it should ("You do not need to call stopRecording before calling this method while another recording is in progress."). Please file a bug report using the Apple Bug Reporter (http://developer.apple.com/bugreporter/) so the team can investigate. Make sure and include your minimal project in the report.

I've filed this with Apple as bug 11632087

In the docs it's stated this:

If a file at the given URL already exists when capturing starts, recording to the new file will fail.

Are you sure you check that nextUrl is a non-existing file name?

According to the documentation, calling to 2 consecutive startRecordingToOutputFileURL is not supported.

you can read about it here

In iOS, this frame accurate file switching is not supported. You must call stopRecording before calling this method again to avoid any errors.

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