[Live-devel] Configuring a BasicUDPSource with an unicast stream

Ross Finlayson finlayson at live555.com
Thu Dec 29 11:40:33 PST 2011


> Ho to configure the groupSocket object fed into an BasicUDPSource to read an incoming unicast UDP stream?

Using 0 as the 'group address' should work - i.e.,

	struct in_addr inputAddress; inputAddress.s_addr = 0;
	Port const inputPort(8888);  // replace this with the actual port number that you want to use
	Groupsock* inputGroupsock = new Groupsock(*env, inputAddress, inputPort, 0);


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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.live555.com/pipermail/live-devel/attachments/20111229/58ce7fec/attachment.html>


More information about the live-devel mailing list