I have two network interfaces (I1 and I2)which will be both used, if you use INADDR_ANY. So I decided to bind my socket connections to interface I1. I overwrote the the two variables "ReceivingInterfaceAddr" and "SendingInterfaceAddr" (e.g ReceivingInterfaceAddr = I1) in order to receive rtp packets only over one interface. So I guess that this is not my problem. (by the way: I linked my program like this ... gcc .... live-lib myprog this is only a shortcut ;-); if I compiled and linked it like this, I could use I1 and not by default INADDR_ANY).
Thank you for your answer. -----Original Message----- From: Jan Borris <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Date: Tue, 24 Jun 2008 14:50:07 +0200 Subject: VS: [Live-devel] Multicast Streaming again -----Oprindelig meddelelse----- Fra: Jan Borris=20 Sendt: 24. juni 2008 14:49 Til: 'LIVE555 Streaming Media - development & use' Emne: SV: [Live-devel] Multicast Streaming again Hi there, I am not using the live library at the moment, but I have developed my = own multipurpose multicast gateway and have had the same problem earlier = on. The reason why I experienced "mixed streams" was that my UDP server used = the INADDR_ANY flag when binding to the multicast port. // servaddr.sin_addr.s_addr =3D htonl(INADDR_ANY) If I omit this it seems to work as one would expect. My code runs on an old Redhat 7.3 and on a recent SuSE platform. Hope this can be of some help. Best regards, Jan Borris -----Oprindelig meddelelse----- Fra: [EMAIL PROTECTED] = [mailto:[EMAIL PROTECTED] P=E5 vegne af Marian Kogler Sendt: 24. juni 2008 14:16 Til: [EMAIL PROTECTED] Emne: Re: [Live-devel] Multicast Streaming again I would like to use two different ports, but I can't. I don't have any = influence on that, because I'm not on the sender side! :-( Nevertheless, thank you for your prompt answer! -----Original Message----- From: Ross Finlayson <[EMAIL PROTECTED]> To: LIVE555 Streaming Media - development & use = <[EMAIL PROTECTED]> Date: Tue, 24 Jun 2008 04:01:10 -0700 Subject: Re: [Live-devel] Multicast Streaming again >I have recently posted a mail concerning multicast streaming over=20 >two different ip addresses and >the same port. > _______________________________________________ live-devel mailing list live-devel@lists.live555.com http://lists.live555.com/mailman/listinfo/live-devel