Pause & resume video capture using AVCaptureMovieFileOutput and AVCaptureVideoDataOutput in iOS

后端 未结 1 517
北荒
北荒 2021-02-20 05:22

I have to implement functionality to repeatedly pause and resume video capture in a single session, but have each new segment (the captured segments after each pause) added to t

1条回答
  •  你的背包
    2021-02-20 05:31

    Look at the AVCaptureConnection's enabled property. For your output connection, set enabled to NO instead of stopping the session.

    0 讨论(0)
提交回复
热议问题