HTTP Receiving

About encoding, codec settings, muxers and filter usage
developer
Blank Cone
Blank Cone
Posts: 43
Joined: 03 Nov 2008 10:40

HTTP Receiving

Postby developer » 07 Nov 2008 11:39

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.

Rémi Denis-Courmont
Developer
Developer
Posts: 15265
Joined: 07 Jun 2004 16:01
VLC version: master
Operating System: Linux
Contact:

Re: HTTP Receiving

Postby Rémi Denis-Courmont » 08 Nov 2008 10:14

Because you're not using the right URL.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

developer
Blank Cone
Blank Cone
Posts: 43
Joined: 03 Nov 2008 10:40

Re: HTTP Receiving

Postby developer » 08 Nov 2008 10:41

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.

Rémi Denis-Courmont
Developer
Developer
Posts: 15265
Joined: 07 Jun 2004 16:01
VLC version: master
Operating System: Linux
Contact:

Re: HTTP Receiving

Postby Rémi Denis-Courmont » 09 Nov 2008 16:10

How would I know that? it depends on the server settings.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

developer
Blank Cone
Blank Cone
Posts: 43
Joined: 03 Nov 2008 10:40

Re: HTTP Receiving

Postby developer » 10 Nov 2008 22:47

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.

developer
Blank Cone
Blank Cone
Posts: 43
Joined: 03 Nov 2008 10:40

Re: HTTP Receiving

Postby developer » 12 Nov 2008 18:37

any idea ?

is my codes are true or not ?

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

Rémi Denis-Courmont
Developer
Developer
Posts: 15265
Joined: 07 Jun 2004 16:01
VLC version: master
Operating System: Linux
Contact:

Re: HTTP Receiving

Postby Rémi Denis-Courmont » 12 Nov 2008 21:04

http://127.0.0.1:8080/, assuming you're streaming to the root of the webserver at port 8080
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

developer
Blank Cone
Blank Cone
Posts: 43
Joined: 03 Nov 2008 10:40

Re: HTTP Receiving

Postby developer » 12 Nov 2008 21:48

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.

developer
Blank Cone
Blank Cone
Posts: 43
Joined: 03 Nov 2008 10:40

Re: HTTP Receiving

Postby developer » 14 Nov 2008 13:11

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.


Return to “VLC stream-output (sout)”

Who is online

Users browsing this forum: No registered users and 24 guests