[Live-devel] About: ourSourceAddressForMulticast(UsageEnvironment & env ) and void our_srandom(int x )

Ross Finlayson finlayson at live555.com
Thu Mar 9 23:14:35 PST 2006


At 10:00 PM 3/9/2006, you wrote:
>How should I understand 
>"ourSourceAddressForMulticast(UsageEnvironment &  env )  ,  void 
>our_srandom(int    x  ) " functiona
>
>Their role are what ?

This function's name is a bit misleading (it's an anachronism); it 
should really be called something like "ourIPAddress()".

It's purpose is to figure out the IP address of this computer - i.e., 
an IP address by which the computer can be reached.  For example, the 
demo applications (that include built-in RTSP servers) use this 
function (via "RTSPServer::rtspURL()") to figure out a "rtsp://" URL 
by which the stream can be accessed.


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



More information about the live-devel mailing list