[Live-devel] one stream received on multiple multicast addresses

Ross Finlayson finlayson at live555.com
Wed Jul 4 08:59:35 PDT 2007


>For instance, testMPEG1or2VideoReceiver.cpp:56 reads
>
>	= "239.6.42.42";
>
>and testMPEG1or2VideoStreamer.cpp:68 reads
>
>	= "239.7.42.42";
>
>SSM is not used.
>
>In this situation, testMPEG1or2VideoReceiver sees the stream sent by
>testMPEG1or2VideoStreamer as long as another process on the same host is
>listening on 239.6.42.42 .

This is a problem with some operating systems - if two or more 
receivers have joined different multicast groups, but using the same 
port number, then - on some operating systems - all received packets 
will be delivered to all receivers.

To overcome this, use different port numbers as well as different 
multicast groups.  (Remember, though, that for RTP, the port number 
should always be even.)
-- 

Ross Finlayson
Live Networks, Inc.
http://www.live555.com/


More information about the live-devel mailing list