problem with streaming over UDP

About encoding, codec settings, muxers and filter usage
hokaro
Blank Cone
Blank Cone
Posts: 21
Joined: 31 Jan 2010 18:54

problem with streaming over UDP

Postby hokaro » 25 May 2010 15:43

Hello all

I need to stream live video over either udp or rtp. I don't seem to be able to do this.
the source computer is in Sweden, the destination is in Belgium.
- Both have static IP:s...
- the source ip starts with 194, the destination ip starts with 81
- I have a apache http webserver on the source computer.
- all ports are open in both source and destination.
- the hardware supports multicasting

I can send and view http stream, but I am not able to view the udp stream.
Which IP (or IP:s ) should be used for sending and recieving the UDP?
what code/script should be used in vlc in both ends?

I really appreciate if anybody can help, I am completely lost and I am lost.

regards

hokaro
Blank Cone
Blank Cone
Posts: 21
Joined: 31 Jan 2010 18:54

Re: problem with streaming over UDP

Postby hokaro » 25 May 2010 21:16

I forgot to say that I can send HTTP stream, no problem with that...but UDP can't be sent/viewed...is there anything I should change in the router? I have a Cisco 1800 series router...

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

Re: problem with streaming over UDP

Postby Rémi Denis-Courmont » 26 May 2010 18:41

For UDP, you need to put the destination IP address at the sender.

If you want to use multicast, make sure both computers are on the same network, and the network has multicast enabled (the Internet at large does not support multicast)
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

doniewil1504
New Cone
New Cone
Posts: 5
Joined: 29 May 2010 20:23

Re: problem with streaming over UDP

Postby doniewil1504 » 29 May 2010 20:34

What if we want to stream to more than one computer ?. I tried to put 1 ip address of the client computer at the server side, and it works. But what if the case that more than 1 client computer would want to access the server. thank you.

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

Re: problem with streaming over UDP

Postby Rémi Denis-Courmont » 29 May 2010 20:43

Then you need to either duplicate the stream, or use multicast.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded


Return to “VLC stream-output (sout)”

Who is online

Users browsing this forum: No registered users and 10 guests

cron