title: Java FX8 HLS Audio Stream
body: <p>Trying this whole morning and cannot get it to work.</p>
  
  <p>Works with sample .flv source, but cannot get it to play live radio.</p>
  
  <p>Also tried putting stream into .m3u8 file, to no avail.</p>
  
  <pre><code>Media media;
  MediaPlayer mediaPlayer;
  MediaView mediaView;
  
  String source = "http://download.oracle.com/otndocs/products/javafx/oow2010-2.flv";
  String sourcelive = "http://newyorkcity.radiostreamlive.com/radionylive_128";
  
  media = new Media(sourcelive);
  mediaPlayer = new MediaPlayer(media);
  mediaView = new MediaView(mediaPlayer);
  
  mediaPlayer.setOnReady(() -&gt; {
      label.setText("Ready");
          mediaPlayer.play();
      });
  </code></pre>
  
  <p><strong>.setOnReady</strong> never fires for the live stream.</p>
  
  <p>Must be missing sth obvious here.</p>
  
  <p><em>javafx.runtime.version=8.0.60
  javafx.runtime.build=b27</em></p>