Record multiple videos and update progress bar using AVCaptureSession

542 views Asked by At

I am creating an Instagram kind of video recording and posting app. I have a max recording duration of 15 sec and i need to show a progress bar.This link helped .Code here.

 CMTime maxDuration = CMTimeMakeWithSeconds(15, 50);

 [[self movieFileOutput] setMaxRecordedDuration:maxDuration];

As a result stopRecording is not called also AVCaptureFileOutputRecordingDelegate is called at the end of 15 secs. I need to create 3 videos of 5secs each and update progress bar accordingly so that at the end of 15 secs my progress bar is full just like Instagram. please help

0

There are 0 answers