captureOutput function isn't called using setSampleBufferDelegate

后端 未结 6 1990
臣服心动
臣服心动 2021-02-19 03:57

I\'m starting to develop an iOS app and this is my first SO post. I\'m trying to implement a UI view which can show the preview video of the rear camera and process the captured

6条回答
  •  暖寄归人
    2021-02-19 04:27

    According to this tutorial you need to commit your configuration before starting to run the session.

    I also see that you have multiple points where you return false before the session can start to run. Hav you checked to see if you are exiting prematurely in one of these locations? Simply a console output, or a break point on the return statements can give you some info.

提交回复
热议问题