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

Novalis Vapuru 6.45.vapuru at gmail.com
Thu Jan 5 00:54:52 PST 2012


Hi,

I want to simply close and delete existing  UsageEnvironment and
shutdown method without "exit"...

What I do so far is:

1. First :  reclaim method

env.reclaim(); but this does NOT delete the enviroment since
env.liveMediaPriv != NULL...

Of course i can set iveMediaPriv  to NULL manually, but is it a good way?

2. Second: void Medium::close(UsageEnvironment& env, char const* name)

well i can not undestand what kind of name its want because enviment
is created without name..

So i try with NULL  and with application name given to RTSPClient
object but get  Access violation error at

MediaLookupTable::remove(char const* name)  method where it calls
Medium* medium = lookup(name);

Best Wishes


More information about the live-devel mailing list