[Live-devel] rtsp/rtp port management
Ross Finlayson
finlayson at live555.com
Wed Nov 4 22:18:17 PST 2009
>For each file that I want to stream at the same time, I set up a
>rtsp session with unique server port number and name.
>Then server will start streaming to client via rtp.
>If same client requests another video, server will start another
>rtsp session with rtp transmission and another rtp destination port
>(previous rtp port number +2).
>When a client disconnects, rtsp port and rtp port become available again .
As far as I can tell, the existing code (specifically, the
implementation of the "OnDemandServerMediaSubsession" class) already
does exactly what you are asking for.
Why do you feel that you need to write new code, when our existing
RTSP server implementation already works?
--
Ross Finlayson
Live Networks, Inc.
http://www.live555.com/
More information about the live-devel
mailing list