title: Android two MediaPlayers at the same time skipping
body: <p>I have an app which plays two videos at the same time. On a MotoG (Android 4.4.4) if the app is playing two videos which were generated on an Android device, it works fine. If it is playing a single video generated on iOS, it works fine.</p>
  
  <p>But if it is playing 1 video generated on iOS and a second video from either iOS or Android, the player goes crazy and skips and stutters and just doesn't play back properly.</p>
  
  <p>There is a minor difference between the two file formats, but since both files play properly by themselves, I think this is something that should be working on Android. Below is the ffmpeg info for the different video files.</p>
  
  <p>In case it makes a difference, the <code>MediaPlayers</code> are hooked up to display on a <code>SurfaceHolder</code> which comes from a <code>SurfaceView</code> in the layout xml. </p>
  
  <p>Any help would be appreciated!</p>
  
  <p>File created on iOS:<br>
  <code>Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'createdOnIOS.mp4':
    Metadata:
      major_brand     : mp42
      minor_version   : 1
      compatible_brands: mp41mp42isom
      creation_time   : 2015-02-20 08:01:30
    Duration: 00:00:06.34, start: 0.000000, bitrate: 1577 kb/s
      Stream #0:0(und): Video: h264 (Baseline) (avc1 / 0x31637661), yuv420p(tv, smpte170m), 360x480, 1509 kb/s, 29.98 fps, 29.97 tbr, 600 tbn, 1200 tbc (default)
      Metadata:
        creation_time   : 2015-02-20 08:01:30
        handler_name    : Core Media Video
      Stream #0:1(und): Audio: aac (mp4a / 0x6134706D), 44100 Hz, mono, fltp, 63 kb/s (default)
      Metadata:
        creation_time   : 2015-02-20 08:01:30
        handler_name    : Core Media Audio
  </code></p>
  
  <p>File created on Android:<br>
  <code>Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'createdOnAndroid.mp4':
    Metadata:
      major_brand     : isom
      minor_version   : 0
      compatible_brands: isom3gp4
      creation_time   : 2015-02-20 08:10:17
    Duration: 00:00:06.08, start: 0.000000, bitrate: 6096 kb/s
      Stream #0:0(eng): Video: h264 (Baseline) (avc1 / 0x31637661), yuv420p, 720x480, 6002 kb/s, SAR 65536:65536 DAR 3:2, 24.68 fps, 90k tbr, 90k tbn, 180k tbc (default)
      Metadata:
        rotate          : 90
        creation_time   : 2015-02-20 08:10:17
        handler_name    : VideoHandle
        encoder         : MOTO
      Side data:
        displaymatrix: rotation of -90.00 degrees
      Stream #0:1(eng): Audio: aac (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 128 kb/s (default)
      Metadata:
        creation_time   : 2015-02-20 08:10:17
        handler_name    : SoundHandle
  </code></p>