Having read all the emails, I see that the Live555 design uses the interface which supports a multicast router. I don't see anything wrong with the request below from Patrick. If a node is a router, a router supports many interfaces. Each interface can independently support multicast routing. Therefore if a server runs on the router, the server would need configuration for what NIC to use. What Patrick wants to do is already an issue solved by the Cisco CNR (Cisco Network Registrar), a DHCP server which runs on a Linux machine with multiple NICs.
http://tinyurl.com/zdjgrfr The DHCP server is configured for which NIC and IPv4 or IPv6 address on the NIC to use. I agree with Ross when he proposed this solution: "One other thing you could try is - in your "main()" program, do #include <GroupsockHelper.hh> and then, near the beginning ReceivingInterfaceAddr = SendingInterfaceAddr = our_inet_addr("x.y.z.w"); where x.y.z.w is the IP address of the interface that you want to use (in 'dotted quad' form). This is not guaranteed to work, though..." Just implement what Ross suggested above. If you run into any issues, please send your code changes so that we can help fix your issues. Cheers, Hemant From: live-devel [mailto:live-devel-boun...@ns.live555.com] On Behalf Of Weber, Patrick Sent: Friday, December 02, 2016 10:43 AM To: live-devel@lists.live555.com <live-de...@ns.live555.com> Subject: [Live-devel] Multiple NIC - RTSP URL. My application can have multiple NICs - how do I tell RTSPServer which IP address to use? Patrick Weber Principal Consultant Integrated Automation Consulting LLC 440-552-5937 www.IntAutomation.com <http://www.intautomation.com/>
_______________________________________________ live-devel mailing list live-devel@lists.live555.com http://lists.live555.com/mailman/listinfo/live-devel