title: MediaPlayer: Prepare failed status 0x1 error while streaming song
body: <p>I've problem with streaming some songs in my android application. 
  Here is my test code for creating <code>MadiaPlayer</code> and setting data source:</p>
  
  <pre><code>mediaPlayer = new MediaPlayer();
  mediaPlayer.setAudioStreamType(AudioManager.STREAM_MUSIC);
  mediaPlayer.setOnPreparedListener(this);
  mediaPlayer.setOnCompletionListener(this);
  mediaPlayer.setOnErrorListener(this);
  mediaPlayer.setDataSource("http://streaming.ibroadcast.com/?file=MjA1MTIyMS0xMDA1NDQ1NC01MDYxNjY5LTEwMDAwMDQ=");  
  try {
     mediaPlayer.prepare();
  } catch (Exception ex) {
     Log.e(Constants.LOG_TAG, ex.getMessage(), ex);
  }
  </code></pre>
  
  <p>I get this on <code>mediaPlayer.prepare()</code>:</p>
  
  <pre><code>10-31 15:41:27.130: ERROR/NuCachedSource2(174): source returned error -32, 0 retries left
  10-31 15:41:34.388: ERROR/NuCachedSource2(174): source returned error -32, 0 retries left
  10-31 15:41:37.371: ERROR/MediaPlayer(5360): error (1, -2147483648)
  10-31 15:41:37.381: ERROR/log_tag (5360): Prepare failed.: status=0x1
      java.io.IOException: Prepare failed.: status=0x1
      at android.media.MediaPlayer.prepare(Native Method)
  </code></pre>
  
  <p>I've tryed to stream a bunch of songs using this code and this problem occures only for three or four songs, but it's 100% reproducable for that songs. What is more, if I download this songs to SD card and play it from there it plays without any errors. I also able to stream it using browser. All songs has <code>mp3</code> format and server response contains headers like this: </p>
  
  <pre><code>Accept-Ranges:      bytes
  Connection:     close
  Content-Length:     5 MB
  Content-Type:       audio/mpeg
  Date:       2013 Oct 31 14:43:01-8s
  ETag:       831c011006861dc9b2fc89ef185f2f4b
  Last-Modified:      2013 Aug 28 18:28:31-63d 21h
  Server:     Apache/2.2.25 (Amazon)
  </code></pre>
  
  <p>Does anyone has ideas what is wrong? </p>
  
  <p><strong>UPDATE:</strong></p>
  
  <p>Here is <a href="http://pastebin.com/ZP6chRMd" rel="nofollow">not working song</a> first 1024 bytes and here is <a href="http://pastebin.com/UV1r81vy" rel="nofollow">working one</a></p>