[Live-devel] [live-devel] Specify network adapter

Ross Finlayson finlayson at live555.com
Thu Jun 15 07:55:30 PDT 2006


>My question: how can I specify on which network addapter shall 
>live555 look on.

You can do this by setting the global variables "SenderInterfaceAddr" 
and/or "ReceivingInterfaceAddr", *before* creating network objects 
(e.g., groupsocks, RTPSources or RTPSinks).

See the "case 'I':" code in "testProgs/playCommon.cpp" for an example 
of how "ReceivingInterfaceAddr" can be set.  (Alternatively, if you 
have just an IP address, rather than a domain name, you could call 
"our_inet_addr()" to set it.)


	Ross Finlayson
	Live Networks, Inc. (LIVE555.COM)
	<http://www.live555.com/>



More information about the live-devel mailing list