0

I am recording an audio file but still the initializing the recorder giving me this error. Can you please look into this?

self.microphone = [EZMicrophone microphoneWithDelegate:self];
[self.microphone startFetchingAudio];
self.recorder1 = [EZRecorder recorderWithURL:[NSURL fileURLWithPath:outputFileURL1.path]
                                   clientFormat:[self.microphone audioStreamBasicDescription]
                                       fileType:EZRecorderFileTypeM4A delegate:self];

I have deleted the previous file also but still I am getting this error.

1 Answers1

0

I have solved the problem at my end, the problem was that EZRecorder was initializing two times.