UDP multicast problem

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

UDP multicast problem

Postby hokaro » 25 Jun 2010 21:35

Hi all

I am trying to multicast MPEG2 to udp. There are a couple of routers in between the server and the client. my guess is at least 3 routers, but it can be more.
I am doing like this:

1- I stream my captured video to udp, destination multicast ip 224.1.0.1 and prot 1234
2- I have tried both TTL 1 and 3 and even 10 !
3- at my client (which is in another country, I am in sweden and client in Belgium), I open VLC to get the stream
4- in "open network stream" I type in: udp://224.1.0.1:1234
5-firewall on both server and client is disabled.

but it doesn't get the stream. what am I doing wrong?

also, can't I open my udp stream in windows media player?

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

Re: UDP multicast problem

Postby hokaro » 27 Jun 2010 18:07

I just want to add that it works fine on my LAN computers, but I can't receive the stream on WAN (external networks)...

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

Re: UDP multicast problem

Postby Rémi Denis-Courmont » 27 Jun 2010 19:18

Either the TTL setting did not work (can be checked by packet capture on the sender), or the routers are not configured to route multicast.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

ravisankarvarma
New Cone
New Cone
Posts: 1
Joined: 06 Oct 2010 02:49

Re: UDP multicast problem

Postby ravisankarvarma » 06 Oct 2010 02:53

The streaming works well in your LAN because multicast packets will be flooded at layer 2(unless igmp snooping is enabled).
However, when it comes to WAN, the routing network between the source and destination should support multicast (PIM in general).
I tried the same setup and it did not work . I suspect TTL value not getting configured properly because my routers are configured properly to route multicast traffic.


Return to “VLC stream-output (sout)”

Who is online

Users browsing this forum: No registered users and 15 guests