I need to use certain predefined port numbers for RTP streaming, for
example 60004 for audio substream, 60006 for audio...

Is your streaming multicast or unicast? If it's multicast, you can easily define and use a single port number. However, if your streaming is unicast, then you can't do this, because multiple clients get multiple (unicast) streams, each using a different port number.

However, you can set the "initialPortNum" parameter to the "OnDemandServerMediaSubsession" constructor to - for example - 60004 (instead of its default value of 6970), and this will then become the starting point for the port numbers for unicast streams.
--

Ross Finlayson
Live Networks, Inc.
http://www.live555.com/
_______________________________________________
live-devel mailing list
live-devel@lists.live555.com
http://lists.live555.com/mailman/listinfo/live-devel

Reply via email to