Hi I’m trying using vlc to broadcast UDP stream within a LAN, Making it like a TV channel.
I used command line to launch VLC which then vlc is ok to run =
cvlc --repeat filename.avi --sout '#standard{access=udp,mux=ts,dst=239.255.12.42:8001}
problem is it works on some network, and I have problem receiving it on a network without router!
Question: what is some magical about the address “239.255.x.x” ? what network hardware is require for UDP broadcast besides switches and cables? Does wireless can accept UDP broadcast?
Thanks for your answers!
The 239.255.x.x addresses are part of the multicast address space, ranging from 224.0.0.0 to 239.255.255.255 (and there are some specific-use areas in there).
You’ve correctly noted that it doesn’t work without a router. This is because the basic IP stack still wants to know how to route those addresses to determine which interface to send them on. You can either add a static route for multicast (that address or all multicast addresses), or put in a default gateway.