title: Android recorded aac(.mp3) file not playing in iOS
body: <p>Hi I'm using the following code to record audio on Android </p>
  
  <pre><code>myRecorder = new MediaRecorder();
  myRecorder.setAudioSource(MediaRecorder.AudioSource.MIC);
  myRecorder.setOutputFormat(MediaRecorder.OutputFormat.MPEG_4);
  myRecorder.setAudioEncoder(MediaRecorder.AudioEncoder.AAC);
  myRecorder.setAudioSamplingRate(44100);
  myRecorder.setAudioEncodingBitRate(256);
  myRecorder.setAudioChannels(1);
  voiceFileName = getFilename();
  myRecorder.setOutputFile(voiceFileName);
  
  private String getFilename() {
      String filepath = Environment.getExternalStorageDirectory().getPath();
      File file = new File(filepath, "test");
  
      if (!file.exists()) {
          file.mkdirs();
      }
      return (file.getAbsolutePath() + "/" + System.currentTimeMillis() + ".mp3");
  
  }
  </code></pre>
  
  <p>but that aac(.mp3) file does not play on iOS.
  EDIT</p>
  
  <pre><code>let audioFilename = getDocumentsDirectory().stringByAppendingPathComponent("whistle.mp3")
  let audioURL = NSURL(fileURLWithPath: audioFilename)
  let whistlePlayer:AVAudioplayer = try AVAudioPlayer(contentsOfURL: audioURL)
  whistlePlayer.play()
  </code></pre>
  
  <p>How do I  play this file in IOS(Swift)?</p>