Hello java people. Do any of you ever used the java binding of the VLC player? If any do, have you ever got it to stream using its VLM functionality?
Problem for me is that it fails on creation of the broadcast.
String streamName = [streamName];
String location = [file URI];
String output="#std{access=udp,mux=ts,dst=127.0.0.1:1234}";
jvlc.vlm.addBroadcast(streamName, location, output, new String[0], true, false);
jvlc.vlm.setOutput(streamName, output);
jvlc.vlm.playMedia(streamName);
And here is the exception thrown by addBroadcast()
org.videolan.jvlc.VLCException: Media [streamName] creation failed
at org.videolan.jvlc.VLM._addBroadcast(Native Method)
at org.videolan.jvlc.VLM.addBroadcast(VLM.java:39)
I'm really stuck on this. There aren't many examples on the whole net, as JVLC is still under development (I guess), but till now I got no help from their forums. So I thought I could rely on anyone here at gamedev who had ever used those features. I Hope there's someone here...