<!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->sink) call
the subsession destructor also? This is what the comment says in
subsessionAfterPlaying().</font></blockquote>
<div><br>
That comment is perhaps a bit misleading. When it says that it
"closes the subsession", it means that it closes down the
stream that's associated with the subsession.</div>
<div><br></div>
<div>The actual "MediaSubsession" object itself is closed
within the "MediaSession" destructor, which (should) get
called from within the "shutdown()" routine (in the call to
"Medium::close(session)").</div>
<x-sigsep><pre>--
</pre></x-sigsep>
<div><br>
Ross Finlayson<br>
Live Networks, Inc.<br>
http://www.live555.com/</div>
</body>
</html>