Page 1 of 1

HTTP Receiving

Posted: 07 Nov 2008 11:39
by developer
hi guys,

i m trying receive a stream with http, but it is not.

i used c#.net and the code is like that,

String MRL = "http://localhost:8080";
this.axVLCPlugin1.addTarget(MRL, null, AXVLCP.VLCPlaylistMode.VLCPlaylistReplaceAndGo, 0);
this.axVLCPlugin1.play();

when i use this with rtp, it is working properly,

but http not.

thanks for your advices and helps.

Re: HTTP Receiving

Posted: 08 Nov 2008 10:14
by Rémi Denis-Courmont
Because you're not using the right URL.

Re: HTTP Receiving

Posted: 08 Nov 2008 10:41
by developer
Because you're not using the right URL.
this is good, because i understood that what i did wrong ? :)

how can i correct the url ?

i used localhost to local loop that is 127.*.*.*

what is the true url ?

thanks for your advices and helps.

Re: HTTP Receiving

Posted: 09 Nov 2008 16:10
by Rémi Denis-Courmont
How would I know that? it depends on the server settings.

Re: HTTP Receiving

Posted: 10 Nov 2008 22:47
by developer
i m streaming the video to localhost, and i receive data from localhost.

problem is that video does not receiving.

how can i solve this ?

i use c# or vb, it is not problem, stream video by vlc program and i m receiving by my c# program, codes are above.

Re: HTTP Receiving

Posted: 12 Nov 2008 18:37
by developer
any idea ?

is my codes are true or not ?

this.axVLCPlugin21.playlist.add("http://127.*.*.*:8080", null, null);
this.axVLCPlugin21.playlist.play();

Re: HTTP Receiving

Posted: 12 Nov 2008 21:04
by Rémi Denis-Courmont
http://127.0.0.1:8080/, assuming you're streaming to the root of the webserver at port 8080

Re: HTTP Receiving

Posted: 12 Nov 2008 21:48
by developer
streaming or receiving ?

i want to receive it from "http://127.*.*.1:8080/", because i stream it "http://127.*.*.1:8080/"

to streaming i used vlc gui, to receive i used my c# program.

when i stream "rtp://127.*.*.1:8080/" with vlc gui and receive it my c# program, no problem,it worked,

but if use http it did not work.

and not work :(

any idea ?

thanks for your advice and helps.

Re: HTTP Receiving

Posted: 14 Nov 2008 13:11
by developer
i have a good news, it works with VLC 0.8.6h. :)

with http on local loop.

i hope so that it will work on other computer.

thanks for your advices and helps.