[Live-devel] Closing and deleting enviroment at the shutdownstream [ testRTSPClient and OpenRTSPClient]

Ross Finlayson finlayson at live555.com
Sat Jan 7 08:32:36 PST 2012


> Well,
> 
> I make my test on testRTSPClient example
> It has method   shutdownStream(RTSPClient* rtspClient, int exitCode)
> in which I delete  exit(exitCode); statement
> 
> and put env.reclaim() there but env.liveMediaPriv != NULL as I said before

Sorry, but I just tried this myself, with the actual "testRTSPClient" code, and found that the "liveMediaPriv" pointer *is* NULL, and the "UsageEnvironment" object *does* get deleted.

Bzzzt!  Thank you for playing...


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/20120107/87afb2a7/attachment.html>


More information about the live-devel mailing list