[Live-devel] Multicast Streaming again
Marian Kogler
m1kogler at edu.uni-klu.ac.at
Wed Jun 25 01:13:39 PDT 2008
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 <jan.borris at cph.dk>
To: <m1kogler at edu.uni-klu.ac.at>
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: live-devel-bounces at ns.live555.com =
[mailto:live-devel-bounces at ns.live555.com] P=E5 vegne af Marian Kogler
Sendt: 24. juni 2008 14:16
Til: live-devel at ns.live555.com
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 <finlayson at live555.com>
To: LIVE555 Streaming Media - development & use =
<live-devel at ns.live555.com>
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.
>
More information about the live-devel
mailing list