<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<style>
<!--
@font-face
        {font-family:Wingdings}
@font-face
        {font-family:Wingdings}
@font-face
        {font-family:Calibri}
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif"}
a:link, span.MsoHyperlink
        {color:blue;
        text-decoration:underline}
a:visited, span.MsoHyperlinkFollowed
        {color:purple;
        text-decoration:underline}
p.MsoListParagraph, li.MsoListParagraph, div.MsoListParagraph
        {margin-top:0in;
        margin-right:0in;
        margin-bottom:0in;
        margin-left:.5in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif"}
span.EmailStyle17
        {font-family:"Calibri","sans-serif";
        color:windowtext}
.MsoChpDefault
        {font-family:"Calibri","sans-serif"}
@page WordSection1
        {margin:1.0in 1.0in 1.0in 1.0in}
div.WordSection1
        {}
ol
        {margin-bottom:0in}
ul
        {margin-bottom:0in}
-->
</style>
</head>
<body lang="EN-US" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal">Helllo Ross,</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">We are facing a crash with ProxyServerMediaSession code, regarding which we would appreciate your help.</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">Scenario:</p>
<p class="MsoListParagraph" style="text-indent:-.25in"><span style="">-<span style="font:7.0pt "Times New Roman"">         
</span></span>32 backend cameras being proxy-ed, bitrate around ~500 Kbps from each</p>
<p class="MsoListParagraph" style="text-indent:-.25in"><span style="">-<span style="font:7.0pt "Times New Roman"">         
</span></span>Connection to backend camera is in RTP over RTSP (TCP) mode</p>
<p class="MsoListParagraph" style="text-indent:-.25in"><span style="">-<span style="font:7.0pt "Times New Roman"">         
</span></span>Each stream is accessed by 2 downstream clients (UDP mode)</p>
<p class="MsoListParagraph" style="text-indent:-.25in"><span style="">-<span style="font:7.0pt "Times New Roman"">         
</span></span>Network bandwidth is often loaded, resulting in client not receiving data for good duration</p>
<p class="MsoListParagraph" style="text-indent:-.25in"><span style="">-<span style="font:7.0pt "Times New Roman"">         
</span></span>As a result, if clients don’t receive data for 10 seconds, they disconnect</p>
<p class="MsoListParagraph" style="text-indent:-.25in"><span style="">-<span style="font:7.0pt "Times New Roman"">         
</span></span>At ProxyServerMediaSession, this results in calling ‘closeStreamSource’, whereby PAUSE command is being sent to backend camera</p>
<p class="MsoListParagraph" style="text-indent:-.25in"><span style="">-<span style="font:7.0pt "Times New Roman"">         
</span></span>The backend cameras do not support PAUSE commands</p>
<p class="MsoListParagraph" style="text-indent:-.25in"><span style="">-<span style="font:7.0pt "Times New Roman"">         
</span></span>After a timeout, downstream clients reattempt connection, which results in sending PLAY command to backend camera</p>
<p class="MsoListParagraph" style="text-indent:-.25in"><span style="">-<span style="font:7.0pt "Times New Roman"">         
</span></span>However, backend camera is for some reason is unresponsive, or, there is a lot of data being handled</p>
<p class="MsoListParagraph" style="text-indent:-.25in"><span style="">-<span style="font:7.0pt "Times New Roman"">         
</span></span>‘scheduleLivenessCommand’ gets called, which sends OPTIONS command, for which no reply is received</p>
<p class="MsoListParagraph" style="text-indent:-.25in"><span style="">-<span style="font:7.0pt "Times New Roman"">         
</span></span>So, next connections are reset, and a DESCRIBE is sent</p>
<p class="MsoListParagraph" style="text-indent:-.25in"><span style="">-<span style="font:7.0pt "Times New Roman"">         
</span></span>This is where the crash happens (rather, this is the last print I see, no replay for DESCRIBE is received)</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">OS is Windows. I will try to gather a stack trace somehow running in Debug mode tomorrow. But, would you have an idea where things could be going wrong?</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">Does camera not supporting PAUSE command make any difference?</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">Regards,</p>
<p class="MsoNormal">Subhankar.</p>
<p class="MsoNormal"> </p>
</div>
<br>
<hr>
<font face="Arial" color="Gray" size="1"><br>
http://www.mindtree.com/email/disclaimer.html<br>
</font>
</body>
</html>