how to multicast stream

About encoding, codec settings, muxers and filter usage
dignified
Blank Cone
Blank Cone
Posts: 13
Joined: 24 Nov 2003 12:21
Contact:

how to multicast stream

Postby dignified » 24 Nov 2003 12:28

My LAN is currently on 192.168.0.x subnet. I want to stream to everyong on the LAN. I always thought that 192.168.0.255 was a multicast IP. How would I stream a file to everyone? Just send it to the multicast IP?

-cheers, ryan

zorglub
Cone that earned his stripes
Cone that earned his stripes
Posts: 482
Joined: 21 Nov 2003 02:53
Location: Paris - France
Contact:

Postby zorglub » 24 Nov 2003 13:08

Hello,

192.168.0.255 is the broadcast address. When you send data to it, it is sent to all computers on your lan.

Multicast addresses are the ones that begin with 224 --> 239 (from 224.0.0.0 to 239.255.255.255).

To stream to a multicast address, just send the stream to this address.

If your network hardware does not support igmp, multicast won't work as expected: either it will act as broadcast, either it won't work at all (in that case, stream to 192.168.0.255)
Zorglub
Clément Stenac

dignified
Blank Cone
Blank Cone
Posts: 13
Joined: 24 Nov 2003 12:21
Contact:

Postby dignified » 30 Nov 2003 11:52

I tried using the broadcast but it is too slow on my LAN. The stream is too jumpy. When I sent to 224.0.0.0 nothing happened. For a multicast, more than one computer is getting sent the stream right? I am currently using Windows XP ICS as a router, and linux (slackware 9.1) to send the stream. How would I setup a multicast?

The DJ
Cone Master
Cone Master
Posts: 5987
Joined: 22 Nov 2003 21:52
VLC version: git
Operating System: Mac OS X
Location: Enschede, Holland
Contact:

Postby The DJ » 30 Nov 2003 23:29

when you use multicast, the clients need to open the same IP.

unicast: send to an ip.
broadcast: send to all ip's in your network
multicast: sent to a multicast ip. your clients will need to tune into the same ip.
Don't use PMs for support questions.


Return to “VLC stream-output (sout)”

Who is online

Users browsing this forum: No registered users and 8 guests