Using AVCam I'm abel to start and stop video recording. This method to start recording:
-(void)captureOutput:(AVCaptureFileOutput *)captureOutput didStartRecordingToOutputFileAtURL:(NSURL *)fileURL fromConnections:(NSArray *)connections;
and to stop recording :
-(void)captureOutput:(AVCaptureFileOutput *)captureOutput didFinishRecordingToOutputFileAtURL:(NSURL *)outputFileURL fromConnections:(NSArray *)connections error:(NSError *)error;
My question is how can I pause recording? looking into the AVFoundation I can found a pause method which is :
-(void)captureOutput:(AVCaptureFileOutput *)captureOutput didPauseRecordingToOutputFileAtURL:(NSURL *)fileURL fromConnections:(NSArray *)connections
but I can't find a way to make it function. I searched a lot but nothing seemed to solve my problem, so please help. Thank you in advance.