I\'m try create application where I can record video from different cameras on device during recording. For example. User press button \"start record\" from front camera, after
when switching camera, you need to pause the buffer writing in the delegate method:
- (void)captureOutput:(AVCaptureOutput *)captureOutput didOutputSampleBuffer:(CMSampleBufferRef)sampleBuffer fromConnection:(AVCaptureConnection *)connection
you can checkout the open source project PBJVision