Vote count:
0
I am developing app which is having video custom recorder and using AVCaptureSession to record video and save it to the Documents Directory.
All the things are working fine with my iOS 7 versioned devices, but generating below error with iOS 8 or later version devices.
AVCaptureMovieFileOutput *movieFileOutput;
If I goes to export video with 1,2,3…50 or more minute duration video than it is perfectly saving.
If I record and stop video with less than 12 second duration and after that if I goes to record new video with 1,2,3…50 or more minute duration video than it is not saving.
- (void)captureOutput:(AVCaptureFileOutput )captureOutput didStartRecordingToOutputFileAtURL:(NSURL )fileURL fromConnections:(NSArray *)connections
Here if we are going to store less than 12 second video, and then goes to start record new video at that time this method won't be called. Above method didn’t change status of movieFileOutput.isRecording in iOS 8.0 or greater, but it is changing in lower then iOS 8.0 version devices. Here not getting what is additional process is required to resolve this issue with iOS 8 or later versions for recording and exporting video file successfully.
I have done a lot of google work but there isn’t any specific solution for this issue. Any help is highly appreciated.
Video Export issue in iOS 8.0 and later version
Aucun commentaire:
Enregistrer un commentaire