<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<p>Hi Qian</p>
<p>I have faced this bug and just solved this a week ago. <br>
</p>
<p>I commented following lines and rtsp over tcp is working as
expected. clientsession and closesockets is caledd properly. <br>
</p>
<font size="+1">void
RTPInterface::clearServerRequestAlternativeByteHandler</font><font
color="#ff0000"><font color="#000000"><br>
<font size="+1">(UsageEnvironment& env, int socketNum) {</font></font><br>
<font size="+1"><ins style="display: inline-block; margin-top:
-1px; text-decoration: none; background-color: rgb(151, 242,
149);">//</ins><b>setServerRequestAlternativeByteHandler(env,
socketNum, NULL, NULL);</b></font><br>
</font><font size="+1">}<br>
</font>
<p>Sincerely</p>
<p><br>
</p>
<div class="moz-cite-prefix">On 23.02.2020 18:20, Zhang Qian(张倩)
wrote:<br>
</div>
<blockquote type="cite"
cite="mid:B0141D73-71C8-4BF7-87E5-C8A2A3844716@asrmicro.com">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<span style="font-family: Calibri, Arial, Helvetica, sans-serif;
font-size: 12pt; background-color: rgb(255, 255, 255);">Hi Ross,</span><br>
<blockquote type="cite">
<div dir="ltr">
<div
style="font-size:12pt;color:#000000;background-color:#FFFFFF;font-family:Calibri,Arial,Helvetica,sans-serif;">
<p><br>
</p>
<p>I found for rtsp/rtp over tcp, it seems that it doesn't
destrcuct RTSPClientConnection and call closeSockets to
close sockets after teardown for rtsp. Is it normal?<br>
</p>
<p><br>
</p>
<p>for rtsp over udp, I found it will close socket when
handling handleRequestBytes(-1) in RTSPServer.cpp, </p>
<p>but for tcp, after handling teardown, it doesn't call <span
style="text-align: left; color: #000000; text-transform:
none; text-indent: 0px; letter-spacing: normal;
font-family: calibri,arial,helvetica,sans-serif;
font-size: 16px; font-style: normal; font-variant:
normal; font-weight: 400; text-decoration: none;
word-spacing: 0px; display: inline !important;
white-space: normal; orphans: 2; float: none;
-webkit-text-stroke-width: 0px; background-color:
#ffffff;">handleRequestBytes</span><span
style="text-align: left; color: #000000; text-transform:
none; text-indent: 0px; letter-spacing: normal;
font-family: calibri,arial,helvetica,sans-serif;
font-size: 16px; font-style: normal; font-variant:
normal; font-weight: 400; text-decoration: none;
word-spacing: 0px; display: inline !important;
white-space: normal; orphans: 2; float: none;
-webkit-text-stroke-width: 0px; background-color:
#ffffff;">(-1</span><span style="text-align: left;
color: #000000; text-transform: none; text-indent: 0px;
letter-spacing: normal; font-family:
calibri,arial,helvetica,sans-serif; font-size: 16px;
font-style: normal; font-variant: normal; font-weight:
400; text-decoration: none; word-spacing: 0px; display:
inline; white-space: normal; orphans: 2; float: none;
-webkit-text-stroke-width: 0px; background-color:
#ffffff;">) to close socket</span>.<br>
</p>
<p><br>
</p>
<p>Thanks.</p>
<p>/Qian<br>
<br>
</p>
</div>
</div>
</blockquote>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<pre class="moz-quote-pre" wrap="">_______________________________________________
live-devel mailing list
<a class="moz-txt-link-abbreviated" href="mailto:live-devel@lists.live555.com">live-devel@lists.live555.com</a>
<a class="moz-txt-link-freetext" href="http://lists.live555.com/mailman/listinfo/live-devel">http://lists.live555.com/mailman/listinfo/live-devel</a>
</pre>
</blockquote>
</body>
</html>