I have created an iPhone application to record our voice. When I try to record, I am getting error message in following statement.
recorder = [[ AVAudioRecorder alloc] initWithURL:url settings:recordSetting error:&err];
Error Domain=NSOSStatusErrorDomain Code=1718449215 "Operation could not be completed. (OSStatus error 1718449215.)"
If I tried to record in .caf file, it is working fine. If I tried with .m4a, I am getting this error message.
Please help me to resolve it.
Thanks.