How do I release memory allocated for ourClient since destructor is private operation.

To reclaim an object derived from the "Medium" class, call "Medium::close()". That is sufficient.

In general, you should reclaim objects in the reverse order that they were created. So, to reclaim your "UsageEnvironment" and "TashScheduler" objects, do the following (after reclaiming other objects):

env->reclaim();
delete scheduler;

(Yes, this is all really ugly and inconsistent. Someday it might get improved...)
--

Ross Finlayson
Live Networks, Inc.
http://www.live555.com/
_______________________________________________
live-devel mailing list
live-devel@lists.live555.com
http://lists.live555.com/mailman/listinfo/live-devel

Reply via email to