Closed NelepovDmitry closed 8 years ago
_movieOutput has init only if fastRecordMethodEnabled if (self.fastRecordMethodEnabled) { if (_movieOutput == nil) { _movieOutput = [AVCaptureMovieFileOutput new]; } } else { //Here nothing }
But in record method
So, never begin record in standart init SCRecord like
(void)createSession { SCRecordSession *session = [SCRecordSession recordSession]; session.fileType = AVFileTypeAppleM4A; [self updateRecordTimeLabel:kCMTimeZero];
self.recorder.session = session; }
later by button try record, and nothing happen.
Version Installing SCRecorder (2.7.0)
Example taken from https://github.com/rFlex/SCRecorder/blob/master/Examples/ObjC/Sources/SCAudioRecordViewController.m
Also never called delegate
I download example app, run it, and audio recorded, but delegate not work
Here not here, it's just in example, need to use delegate method:
_movieOutput has init only if fastRecordMethodEnabled if (self.fastRecordMethodEnabled) { if (_movieOutput == nil) { _movieOutput = [AVCaptureMovieFileOutput new]; } } else { //Here nothing }
But in record method
So, never begin record in standart init SCRecord like
(void)createSession { SCRecordSession *session = [SCRecordSession recordSession]; session.fileType = AVFileTypeAppleM4A; [self updateRecordTimeLabel:kCMTimeZero];
self.recorder.session = session; }
later by button try record, and nothing happen.
Version Installing SCRecorder (2.7.0)
Example taken from https://github.com/rFlex/SCRecorder/blob/master/Examples/ObjC/Sources/SCAudioRecordViewController.m