<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=GB2312">
</head>
<body bgcolor="#ffffff" text="#000000">
Dear Ross,<br>
I have a question. When the RTSPServer uses the following code<br>
envir().taskScheduler().scheduleDelayedTask(0,(TaskFunc*)FramedSource::afterGetting,
this);<br>
to put FramedSource::afterGetting in DelayQueue, then the
openRTSP immediately sends a 'TEARDOWN' command to the Server, as we
know, in SingleStep function any delayed event is handled after
socket handler, so I think the RTSPServer will probably handle
'TEARDOWN' first. However handleCmd_TEARDOWN will cause to delete
RTSPClientSession object and also to delete related ***Source,
***RTPSink. So in this situation, can FramedSource::afterGetting be
called normally? Won't it result in SIGSEGV signal?<br>
I just give an example above. <br>
<br>
<pre wrap="">Best regards,
</pre>
PJ<br>
<!--WISESTAMP_SIG_94359_START--><!--WISESTAMP_SIG_94359_END--><br>
<div class="moz-signature">-- <br>
<b>P.J.</b></div>
</body>
</html>