AVAudioRecorder does not create .m4a files that can be opened and played
问题 I am trying to modify an iOS app that can send audio files (securely/encrypted) to other iOS devices. It uses AVAudioRecorder to record the audio files, and it uses AVAudioPlayer to play back any received audio files. I am now trying to modify the app to create and send files that are compatible with Android. I modified the existing AVAudioRecorder code to this: [settings setValue:[NSNumber numberWithInt:kAudioFormatMPEG4AAC] forKey:AVFormatIDKey]; [settings setValue:[NSNumber numberWithInt