title: Android mediaplayer stream not playing
body: <p>i'm trying to work with internet radio streams, but on some streams I get nothing except this:</p>
  
  <pre><code>05-14 13:16:13.480: E/MediaPlayer(2088): error (1, -2147483648)
  05-14 13:16:13.480: W/System.err(2088): java.io.IOException: Prepare failed.: status=0x1
  05-14 13:16:13.480: W/System.err(2088):     at android.media.MediaPlayer.prepare(Native Method)
  05-14 13:16:13.480: W/System.err(2088):     at com.darko.mk.RadioTresActivity$2.run(RadioTresActivity.java:141)
  05-14 13:16:13.480: W/System.err(2088):     at java.lang.Thread.run(Thread.java:1019)
  </code></pre>
  
  <p>Some stations are working fine but some are not playing at all.</p>
  
  <p>Here is my code that gives the error:</p>
  
  <pre><code>public void playRadio(final String source) {
          new Thread(new Runnable() {
  
              public void run() {
                  try {
                      mediaPlayer.release();
                      mediaPlayer = new MediaPlayer();
                      mediaPlayer.setAudioStreamType(AudioManager.STREAM_MUSIC);
                      mediaPlayer.setDataSource(source);
                      mediaPlayer.prepare(); //line 141 that gives the error
                      mediaPlayer.start();
                  } catch (IllegalArgumentException e) {
                      e.printStackTrace();
                  } catch (IllegalStateException e) {
                      e.printStackTrace();
                  } catch (IOException e) {
                      e.printStackTrace();
                  }
              }
          }).start();
  
      }
  </code></pre>
  
  <p>What can be the problem? Here is the souce example:http://217.16.69.17:8000/metropolis.mp3</p>