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

Dong Hoon Van Uytsel donghoon.vanuytsel at esaturnus.com
Wed Jul 4 11:55:24 PDT 2007


Op 4-jul-07, om 17:59 heeft Ross Finlayson het volgende geschreven:

>> 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.)

Thank you Ross! I had already found that out by experimentation, but  
it is good to know this is a known work-around for linux.

Best regards
Dong Hoon




More information about the live-devel mailing list