Re: [Live-devel] Many multicast sources with same port problem

2010-10-01 Thread Zdenek Bouresh
On Fri, Oct 1, 2010 at 5:05 PM, Ross Finlayson wrote: > I have done some investigation on this issue and here are the results and > suggestions. > > > 1. You were right, it works on freeBSD , but see 2. > > > 2. This is not a Linux bug > > > I guess we'll just have to disagree on this. > > > We

Re: [Live-devel] Many multicast sources with same port problem

2010-10-01 Thread Ross Finlayson
I have done some investigation on this issue and here are the results and suggestions. 1. You were right, it works on freeBSD , but see 2. 2. This is not a Linux bug I guess we'll just have to disagree on this. We know that one should not bind() to a multicast address Agreed :-) , but

Re: [Live-devel] Many multicast sources with same port problem

2010-10-01 Thread Zdenek Bouresh
Hello Ross, I have done some investigation on this issue and here are the results and suggestions. 1. You were right, it works on freeBSD , but see 2. 2. This is not a Linux bug, but intended behavior. making 1. an exception due to how multicast is implemented (different) in freeBSD. Here is w

Re: [Live-devel] Many multicast sources with same port problem

2010-09-20 Thread Ross Finlayson
OK, here is a little feedback, just tried this on OS X 10.5, same behavior, sources mix if on same port. With all due respect, its rather strange that all Linux Kernels (2.4 and 2.6), Windows and OS X (which is somewhat BSD based) are all broken OK, so the problem with your application is a

Re: [Live-devel] Many multicast sources with same port problem

2010-09-20 Thread Zdenek Bouresh
OK, here is a little feedback, just tried this on OS X 10.5, same behavior, sources mix if on same port. With all due respect, its rather strange that all Linux Kernels (2.4 and 2.6), Windows and OS X (which is somewhat BSD based) are all broken, an the theory is that only freeBSD works and everyo

Re: [Live-devel] Many multicast sources with same port problem

2010-09-19 Thread Ross Finlayson
Someone posted an example here for an older version of the lib as a workaround solution. http://www.mail-archive.com/live-devel@lists.live555.com/msg02194.html Then I hope you also read my follow-up to that message:

Re: [Live-devel] Many multicast sources with same port problem

2010-09-19 Thread Zdenek Bouresh
OK, I dug a little and kind of found the answer why it works without a kernel patch The apps that worked actually use bind() which is not the right way to do it, but it seems to work, both on linux and bsd. Someone posted an example here for an older version of the lib as a workaround solution. h

Re: [Live-devel] Many multicast sources with same port problem

2010-09-19 Thread Zdenek Bouresh
Thanks Ross, I will try freeBSD and report back. The part that I don't get is how do other apps don't get this problem on the same OS with the same input streams. 239.255.1.1:22334 239.255.1.2:22334 239.255.1.3:22334 All are recognized as different sources, since the combination of multicast IP a

Re: [Live-devel] Many multicast sources with same port problem

2010-09-19 Thread Ross Finlayson
If your application is receiving - on a socket - traffic that was sent to a multicast address that that socket did not subscribe to, then that is definitely a problem with the operating system, not with your application, and not with our libraries. Because you say that you are unwilling to cha