title: Android's MediaPlayer prepareAsync() timeout?
body: <p>I am using <code>MediaPlayer</code>'s <code>prepareAsync()</code> function.  </p>
  
  <p>My code looks like:</p>
  
  <pre><code>try {
    mediaPlayer.setDataSource(stream_url);
    mediaPlayer.prepareAsync();
  } catch (Exception e) {
    e.printStackTrace();
  }
  
  mediaPlayer.setOnPreparedListener(new OnPreparedListener() {
      @Override
      public void onPrepared(MediaPlayer mp) {
          mp.start();
      }
  });     
  </code></pre>
  
  <p>The issue is that sometimes <code>stream_url</code> is playing music, and sometimes <code>stream_url</code> is not playing music.  How can I notify the user if <code>stream_url</code> is not playing music?  Is there a timeout of some sort or an error I can catch?  Nothing is currently being thrown, it just calls asycn then does nothing if there is no stream.</p>