Currently I am using both an AVCaptureMovieFileOutput and an AVCaptureVideoDataOutput in my AVCaptureSession. I am trying to use the functionality of both delegate methods at once. The problem is that when I add both types of outputs to the AVCaptureSession, only one delegate method is called.
The reason I am doing this is so I can record a video (with the capture delegate method of the AVCaptureMovieFileOutput) and process the frames of the video (with the captureOutput delegate method of the AVCaptureVideoDataOutput) at the same time.
Is there a way I can incorporate both the captureOutput and capture delegate methods in my AVCaptureSession?
And if this is not possible, is there a way to get around this?
Any help would be appreciated.