[Live-devel] rtsp/rtp port management
Trotti Matteo
matteo.trotti at elsagdatamat.com
Wed Nov 4 06:10:09 PST 2009
Hi guys,
I am building a streaming server and I am using liveMedia code to manage
the core part of rtsp/rtp transmission.
I will have multiple clients requesting media to server, and each client
is able to get more than one streams at a time,
so I am trying to figure out how to manage (server side) rtsp/rtp
connections.
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
.
Is this the right way to manage connections to a streaming server from
multiple clients?
Sorry if it looks like a newbie question,
Thanks for helping
Matteo Trotti
Videosurveillance Lab
Elsag Datamat Spa
Genova, Italy
"Questo messaggio ed ogni suo allegato sono confidenziali e possono essere riservati o, comunque, protetti dall'essere diffusi. Se il ricevente non é il destinatario diretto del presente messaggio, é pregato di contattare l'originario mittente e di cancellare questo messaggio ed ogni suo allegato dal sistema di posta. Se il ricevente non é il destinatario diretto del presente messaggio, sono vietati l'uso, la riproduzione e la stampa di questo messaggio e di ogni suo allegato, nonché la diffusione del loro contenuto a qualsiasi altro soggetto"
*****
"This message and any attachment are confidential and may be privileged or otherwise protected from disclosure. If you are not the intended recipient, please contact the sender and delete this message and any attachment from your system. If you are not the intended recipient you must not use, copy or print this message or attachment or disclose the contents to any other person."
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.live555.com/pipermail/live-devel/attachments/20091104/c4d010d0/attachment.html>
More information about the live-devel
mailing list