[Live-devel] How to set the IP address the RTSP server should use?

Ross Finlayson finlayson at live555.com
Wed Oct 25 23:03:39 PDT 2006


>Hi,
>
>I have installed live555 on my linux machine (FC5). I have two 
>interfaces in my machine (eth0, eth1). Now, whenever I start up 
>'testOnDemandRTSPServer', it starts up where the rtsp stream urls 
>have IP address of eth0. I need it to use the IP address of eth1 
>instead. How can I set it up?

Try adding the line

	ReceivingInterfaceAddr = our_inet_addr("x.y.z.w");

at the start of your application.  (Replace "x.y.z.w" with the IP 
address of your desired interface.)
-- 

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


More information about the live-devel mailing list