Page 1 of 1

about JVLC

Posted: 14 Aug 2007 17:02
by tahany
I had playing JVLC and it working so smooth but Problem occurred when it comes to use VLM of JVLC, can u help me to solve it .

this is the code which i used

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);

but this excepyion had appeared

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 will be happy if u can help if u have time to help me

thanks

Re: about JVLC

Posted: 27 Aug 2007 10:29
by shereen ahmed
Dear tahany


I have the same problem , I don't know how to make stream with jvlc , can anyone help us in this topics

thanks
Shereen

Re: about JVLC

Posted: 27 Aug 2007 22:59
by developprograms
Could you post more of your code in what you are doing. There isn't enough there for me to recreate what I would like to do to see if I can get the same error.

Try to post a small useable code and we can go from there. I have had success using the jvlc, but not in streaming it, and I think you are onto something working, but I would like to test your code against what I am trying to do, as I get different errors.

thanks

Re: about JVLC

Posted: 28 Aug 2007 10:12
by shereen ahmed
my code is the same above

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);


but this excepyion had appeared

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)

Re: about JVLC

Posted: 29 Aug 2007 04:09
by developprograms
shereen

what i meant was could you post more of your code so that i can replicate your problem to try and come to a solution. for instance, where are you getting information for the [streamname] from. if possible post your whole class that way I can replicate your issue, from this code I am not able to get anything going.

thanks