title: MediaPlayer, only video m3u8 HTML streams work
body: <p>I'm using the MediaPlayer with a m3u8 audio stream. This results in a log error message: <code>Error(1, -1010)</code></p>
  
  <p>The first argument seems ok when I look at the error codes: <a href="https://github.com/android/platform_external_opencore/blob/master/pvmi/pvmf/include/pvmf_return_codes.h" rel="nofollow">https://github.com/android/platform_external_opencore/blob/master/pvmi/pvmf/include/pvmf_return_codes.h</a></p>
  
  <p>Only <code>-1010</code>, is strange. </p>
  
  <p>When I use the apple video <code>m3u8</code> url it's working great! This is the url:
  <a href="http://devimages.apple.com/iphone/samples/bipbop/gear1/prog_index.m3u8" rel="nofollow">http://devimages.apple.com/iphone/samples/bipbop/gear1/prog_index.m3u8</a></p>
  
  <p>The code I'm using is simple:</p>
  
  <pre><code>MediaPlayer mediaPlayer = new MediaPlayer();
  try {
      mediaPlayer.setDataSource("http://devimages.apple.com/iphone/samples/bipbop/gear1/prog_index.m3u8");
      mediaPlayer.setAudioStreamType(AudioManager.STREAM_MUSIC);
      mediaPlayer.prepare();
      mediaPlayer.setOnPreparedListener(this);
      mediaPlayer.setOnErrorListener(this);
      mediaPlayer.setOnCompletionListener(this);
      mediaPlayer.start();
  } catch (IllegalArgumentException e1) {
      e1.printStackTrace();
  } catch (IllegalStateException e1) {
      e1.printStackTrace();
  } catch (IOException e1) { 
      e1.printStackTrace();
  }
  </code></pre>
  
  <p>Does anyone know if there is a limitation for audio only streams? I used multiple formats and different extensions. </p>
  
  <p>Other question: does anyone have an URL of an m3u8 audio stream, so I can test other streams?</p>