Thanks for the response. Is there a non-default way (via C++ API) to select the 
NIC/IP address?  My application may use multicast for other purposes (Web 
service discovery, for example), and I need to have it active on each NIC.

-----Original Message-----
From: live-devel [mailto:live-devel-boun...@ns.live555.com] On Behalf Of 
live-devel-requ...@ns.live555.com
Sent: Friday, December 2, 2016 3:00 PM
To: live-de...@ns.live555.com
Subject: live-devel Digest, Vol 157, Issue 1

Send live-devel mailing list submissions to
        live-devel@lists.live555.com

To subscribe or unsubscribe via the World Wide Web, visit
        http://lists.live555.com/mailman/listinfo/live-devel
or, via email, send a message with subject or body 'help' to
        live-devel-requ...@lists.live555.com

You can reach the person managing the list at
        live-devel-ow...@lists.live555.com

When replying, please edit your Subject line so it is more specific than "Re: 
Contents of live-devel digest..."


Today's Topics:

   1. Multiple NIC - RTSP URL. (Weber, Patrick)
   2. Re: Multiple NIC - RTSP URL. (Ross Finlayson)


----------------------------------------------------------------------

Message: 1
Date: Fri, 2 Dec 2016 15:43:24 +0000
From: "Weber, Patrick" <patrick.we...@iecinfrared.com>
To: "live-devel@lists.live555.com" <live-de...@ns.live555.com>
Subject: [Live-devel] Multiple NIC - RTSP URL.
Message-ID:
        <7b283d8251dea14aa6cfe585b081b2d007055...@iecsx5700.iec.bw.corp>
Content-Type: text/plain; charset="us-ascii"

My application can have multiple NICs - how do I tell RTSPServer which IP 
address to use?

Patrick Weber
Principal Consultant
[IAC Logo][mesa_recognized_practitioner_logo - Small] 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/20161202/e5ee03de/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.jpg
Type: image/jpeg
Size: 2449 bytes
Desc: image001.jpg
URL: 
<http://lists.live555.com/pipermail/live-devel/attachments/20161202/e5ee03de/attachment-0002.jpg>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image002.jpg
Type: image/jpeg
Size: 6755 bytes
Desc: image002.jpg
URL: 
<http://lists.live555.com/pipermail/live-devel/attachments/20161202/e5ee03de/attachment-0003.jpg>

------------------------------

Message: 2
Date: Sat, 3 Dec 2016 05:25:13 +1300
From: Ross Finlayson <finlay...@live555.com>
To: LIVE555 Streaming Media - development & use
        <live-de...@ns.live555.com>
Subject: Re: [Live-devel] Multiple NIC - RTSP URL.
Message-ID: <46e41433-385e-4078-9b76-72f71a112...@live555.com>
Content-Type: text/plain; charset=utf-8


> On Dec 3, 2016, at 4:43 AM, Weber, Patrick <patrick.we...@iecinfrared.com> 
> wrote:
> 
> My application can have multiple NICs ? how do I tell RTSPServer which IP 
> address to use?

By default, the server uses the network interface that?s used for IP multicast 
routing - i.e., the one that has a route for 224.0.0.0/4.  (The reason for this 
is that it uses IP multicast to detect its own IP address.)

So, the easiest way to choose a particular network interface is to reconfigure 
your host so that it uses that network interface for IP multicast routing.  You 
should be able to do this by running (as root):
        route add 224.0.0.0/4 ip-address-for-that-nic

Ross Finlayson
Live Networks, Inc.
http://www.live555.com/




------------------------------

Subject: Digest Footer

_______________________________________________
live-devel mailing list
live-devel@lists.live555.com
http://lists.live555.com/mailman/listinfo/live-devel


------------------------------

End of live-devel Digest, Vol 157, Issue 1
******************************************

_______________________________________________
live-devel mailing list
live-devel@lists.live555.com
http://lists.live555.com/mailman/listinfo/live-devel

Reply via email to