<!doctype html public "-//W3C//DTD W3 HTML//EN">
<html><head><style type="text/css"><!--
blockquote, dl, ul, ol, li { padding-top: 0 ; padding-bottom: 0 }
 --></style><title>Re: [Live-devel] openRTSP Subsession
Destruction</title></head><body>
<blockquote type="cite" cite><font size="-1">I am looking at the
source testProgs/playCommon.cpp, in particular the shutdown() and
afterPlaying() functions.</font><br>
<font size="-1">Does calling Medium::close(subsession-&gt;sink) call
the subsession destructor also? &nbsp;This is what the comment says in
subsessionAfterPlaying().</font></blockquote>
<div><br>
That comment is perhaps a bit misleading.&nbsp; When it says that it
&quot;closes the subsession&quot;, it means that it closes down the
stream that's associated with the subsession.</div>
<div><br></div>
<div>The actual &quot;MediaSubsession&quot; object itself is closed
within the &quot;MediaSession&quot; destructor, which (should) get
called from within the &quot;shutdown()&quot; routine (in the call to
&quot;Medium::close(session)&quot;).</div>
<x-sigsep><pre>-- 
</pre></x-sigsep>
<div><br>
Ross Finlayson<br>
Live Networks, Inc.<br>
http://www.live555.com/</div>
</body>
</html>