title: iOS recording m4a file not playing android
body: <p>Hi I'm using following setting to record in swift </p>
  
  <pre><code>let audioFilename = getDocumentsDirectory().stringByAppendingPathComponent("recording.m4a")
  let audioURL = NSURL(fileURLWithPath: audioFilename)
  
  let settings = [
    AVFormatIDKey: Int(kAudioFormatMPEG4AAC),
    AVSampleRateKey: 44100.0,
    AVNumberOfChannelsKey: 2 as NSNumber,
    AVLinearPCMBitDepthKey: 16 as NSNumber,
    AVLinearPCMIsBigEndianKey: false as NSNumber,
    AVLinearPCMIsFloatKey: false as NSNumber,
    AVEncoderAudioQualityKey: AVAudioQuality.High.rawValue
  ]
  </code></pre>
  
  <p>but that m4a file not play on android</p>
  
  <pre><code>mediaPlayerAdd = MediaPlayer.create(AndroidPlayerActivity.this, R.raw.recording);
  mediaPlayerAdd.prepare();
  mediaPlayerAdd.start();
  </code></pre>
  
  <p>no error and not playing. How to play this file in android any conversion needed</p>