<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">

<head>
<meta http-equiv=Content-Type content="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 12 (filtered medium)">
<style>
<!--
 /* Font Definitions */
 @font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
        {mso-style-priority:99;
        mso-style-link:"Testo fumetto Carattere";
        margin:0cm;
        margin-bottom:.0001pt;
        font-size:8.0pt;
        font-family:"Tahoma","sans-serif";}
span.StileMessaggioDiPostaElettronica17
        {mso-style-type:personal-compose;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
span.TestofumettoCarattere
        {mso-style-name:"Testo fumetto Carattere";
        mso-style-priority:99;
        mso-style-link:"Testo fumetto";
        font-family:"Tahoma","sans-serif";}
.MsoChpDefault
        {mso-style-type:export-only;}
@page Section1
        {size:612.0pt 792.0pt;
        margin:70.85pt 2.0cm 2.0cm 2.0cm;}
div.Section1
        {page:Section1;}
-->
</style>
<!--[if gte mso 9]><xml>
 <o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
 <o:shapelayout v:ext="edit">
  <o:idmap v:ext="edit" data="1" />
 </o:shapelayout></xml><![endif]-->
</head>

<body lang=IT link=blue vlink=purple>

<div class=Section1>

<p class=MsoNormal><span lang=EN-US>Hi guys,<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US>I am building a streaming server and I am
using liveMedia code to manage the core part &nbsp;of rtsp/rtp transmission.<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US>I will have multiple clients requesting
media to server, and each client is able to get more than one streams at a
time, <o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US>so I am trying to figure out how to manage
(server side) rtsp/rtp connections.<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US>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. <o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US>Then server will start streaming to client
via rtp. <o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US>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).<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US>When a client disconnects, rtsp port and
rtp port become available again .<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US>Is this the right way to manage connections
to a streaming server from multiple clients?<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US>Sorry if it looks like a newbie question,<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US>Thanks for helping<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span lang=EN-US>Matteo Trotti<o:p></o:p></span></p>

<p class=MsoNormal>Videosurveillance Lab<o:p></o:p></p>

<p class=MsoNormal>Elsag Datamat Spa<o:p></o:p></p>

<p class=MsoNormal>Genova, Italy<o:p></o:p></p>

<p class=MsoNormal style='margin-bottom:4.0pt;mso-line-height-alt:9.0pt'><span
style='font-size:10.0pt;color:#7F7F7F'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><o:p>&nbsp;</o:p></p>

</div>


<DIV><P><HR>
&quot;Questo messaggio ed ogni suo allegato sono confidenziali e possono essere riservati o, comunque, protetti dall'essere diffusi. Se il ricevente non &eacute; il destinatario diretto del presente messaggio, &eacute; pregato di contattare l'originario mittente e di cancellare questo messaggio ed ogni suo allegato dal sistema di posta. Se il ricevente non &eacute; il destinatario diretto del presente messaggio, sono vietati l'uso, la riproduzione e la stampa di questo messaggio e di ogni suo allegato, nonch&eacute; la diffusione del loro contenuto a qualsiasi altro soggetto&quot;<BR>
*****<BR>
&quot;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.&quot;
</P></DIV>
</body>

</html>