title: VLCJ Can' t open audio streaming using http on client-side
body: <p>I'm using VLCJ for audio streaming between a server and a client.
  The server-side is all set up as once its running I can open the stream by just using the vlc itself and I'm able to listen any file that I have selected on the server.
  However, on the client-side, I'm doing the following:</p>
  
  <pre><code>String url = "http://127.0.0.1:5555";
  MediaPlayerFactory mediaPlayerFactory = new MediaPlayerFactory();
  HeadlessMediaPlayer mediaPlayer = mediaPlayerFactory.newHeadlessMediaPlayer();
  mediaPlayer.startMedia(url);
  </code></pre>
  
  <p>But don't get any sound at all. If I run <code>vlc http://127.0.0.1:5555</code> in a terminal, it opens the vlc and plays back the music track that is being streamed by the server, without any problem.</p>
  
  <p>Recently, I found out that the problem is with the path. By using <code>System.out.println(mediaPlayer.mrl());</code> it shows that it is opening
  <code>file:///home/user/workspace/audioProject/http%3A//127.0.0.1%3A5555</code> instead of the MRL directly from the HTTP address (<code>http://127.0.0.1:5555</code>).</p>
  
  <p><a href="http://vlcj.googlecode.com/svn/wiki/Streaming.wiki" rel="nofollow">Here</a>, it shows an example of how the client opens a stream.</p>
  
  <p>Any guesses about what I'm doing wrong? And a workaround to it?</p>
  
  <p>Thanks in advance!</p>