[Live-devel] openRTSP Subsession Destruction

Ross Finlayson finlayson at live555.com
Fri Jun 1 16:27:46 PDT 2007


>I am looking at the source testProgs/playCommon.cpp, in particular 
>the shutdown() and afterPlaying() functions.
>Does calling Medium::close(subsession->sink) call the subsession 
>destructor also?  This is what the comment says in 
>subsessionAfterPlaying().

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.

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)").
-- 

Ross Finlayson
Live Networks, Inc.
http://www.live555.com/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.live555.com/pipermail/live-devel/attachments/20070601/f4b119db/attachment.html 


More information about the live-devel mailing list