title: Can not play recorded audio file from android in iOS 5+
body: <p>I am working on android app which also supports iOS. I want to record the audio &amp; play it in Android as well as in iOS devices.  I am recording audio in android using following settings</p>
  
  <pre><code>MediaRecorder audioRecorder = new MediaRecorder();
  audioRecorder.setAudioSource(MediaRecorder.AudioSource.MIC);
  audioRecorder.setOutputFormat(MediaRecorder.OutputFormat.MPEG_4);
  audioRecorder.setAudioEncoder(MediaRecorder.AudioEncoder.AAC);
  audioRecorder.setAudioSamplingRate(44100);
  audioRecorder.setAudioChannels(1);
  audioRecorder.setAudioEncodingBitRate(12800);
  audioRecorder.setOutputFile(&lt;recordedSoundFilePath&gt;);
  audioRecorder.prepare();
  audioRecorder.start();
  </code></pre>
  
  <p>On iOS side , settings are as follows</p>
  
  <pre><code>//audioRecorder is object of  AVAudioRecorder 
  
  NSMutableDictionary *recordSettings = [[NSMutableDictionary alloc] initWithCapacity:10];
      NSNumber *formatObject;
      formatObject = [NSNumber numberWithInt: kAudioFormatMPEG4AAC ];
  
      [recordSettings setObject:formatObject forKey: AVFormatIDKey];
      [recordSettings setObject:[NSNumber numberWithFloat:44100.0] forKey: AVSampleRateKey];
      [recordSettings setObject:[NSNumber numberWithInt:1] forKey:AVNumberOfChannelsKey];
      [recordSettings setObject:[NSNumber numberWithInt:12800] forKey:AVEncoderBitRateKey];
      [recordSettings setObject:[NSNumber numberWithInt:16] forKey:AVLinearPCMBitDepthKey];
      [recordSettings setObject:[NSNumber numberWithInt: AVAudioQualityHigh] forKey: AVEncoderAudioQualityKey];
  
      NSURL *soundFileURL = [NSURL fileURLWithPath:[self soundFilePath]];
  
      NSError *error = nil;
      audioRecorder = [[ AVAudioRecorder alloc] initWithURL:soundFileURL settings:recordSettings error:&amp;error];
  
      if ([audioRecorder prepareToRecord] == YES){
          [audioRecorder record];
      }else {
          int errorCode = CFSwapInt32HostToBig ([error code]);
          NSLog(@"Error: %@ [%4.4s])" , [error localizedDescription], (char*)&amp;errorCode);
  
      }
  </code></pre>
  
  <p>I can record the audio &amp; it is playing correctly in android devices.
  Now the problem is I can play the recorded audio from iOS in Android device , but <strong>iOS device  can't play the audio recorded on Android device</strong>. It returns <code>OSStatus error 1937337955</code>. I searched about this error , but I can't find anything.</p>
  
  <p>Can anybody tell me what's going wrong in my code ? </p>
  
  <p>Any kind of help is highly appreciated. Thanks in advance.</p>