[mythtv] Muticast - Network Recorder with multiple eth devices?

Robert Johnston anaerin at gmail.com
Thu Mar 26 15:20:35 UTC 2009


On Thu, Mar 26, 2009 at 06:15, David Waring <davidjw at rd.bbc.co.uk> wrote:
> Looking at groupsock/GroupSockHelper.h I can see that you can specify the
> interface address to use by setting the values of the external variables
> SendingInterfaceAddr and ReceivingInterfaceAddr. These default to 0, i.e.
> INADDR_ANY. The presence of these global variables suggests that finding
> your ethernet adapters address and setting it in the SendingInterfaceAddr
> variable will force the live555 library to send on that interface only. I
> only have interface header files installed, if you have the source check the
> library code for the use of SendingInterfaceAddr and see if it is used in
> the default bind address.
>
> If SendingInterfaceAddr is used as the default bind address, you could write
> a bit of code to find the IP address of an ethernet interface, set this in
> the SendingInterfaceAddr variable and then do the calls to setup your group
> socket.

The problem with this is that the packets we are receiving are
multicast packets. This means neither the sending, nor receiving
addresses are on our local network. If you define either address, it
acts as a "filter", culling all packets that are not from or to that
address, which means multicast packets will no longer be received.
-- 
Robert "Anaerin" Johnston
Sent from: Regina SK Canada.


More information about the mythtv-dev mailing list