[Live-devel] Multiple NIC - RTSP URL.

hemant at mnkcg.com hemant at mnkcg.com
Tue Dec 6 15:05:16 PST 2016


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-bounces at ns.live555.com] On Behalf Of
Weber, Patrick
Sent: Friday, December 02, 2016 10:43 AM
To: live-devel at lists.live555.com <live-devel at 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/> 

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.live555.com/pipermail/live-devel/attachments/20161206/3d922bee/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image003.jpg
Type: image/jpeg
Size: 3002 bytes
Desc: not available
URL: <http://lists.live555.com/pipermail/live-devel/attachments/20161206/3d922bee/attachment-0002.jpg>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image005.jpg
Type: image/jpeg
Size: 4118 bytes
Desc: not available
URL: <http://lists.live555.com/pipermail/live-devel/attachments/20161206/3d922bee/attachment-0003.jpg>


More information about the live-devel mailing list