I'd really appreciate if someone can put up some light on this misterious VLM for JVLC behaviour. If anyone managed to get it working it would be great if you can post some of your code and tell me where did you get your java VLC binding .
Here is the code I use, guess this doesn't mind anyway as addBroadcast raises a creation failed VLC exception:
Code: Select all
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);
Code: Select all
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)