Re: [Live-devel] All client termination

2012-09-11 Thread Ross Finlayson
> Thanks, ill do this. > Is it safe to do the same (code posted above) from "event trigger" - access to > hashtable and shutdown all the clients? I didn't have time to look at your code in detail. However - as I noted in my previous message - the function "shutdownStream()" in "testProgs/testRT

Re: [Live-devel] All client termination

2012-09-11 Thread ЗвягинцевАнтон
> No!  You cannot safely do this!  Read the FAQ (that you were asked to do before posting to this mailing list)! > > Apart from "triggerEvent()" (see below), all calls to LIVE555 code *must* be done within the LIVE555 thread - e.g., from a LIVE555 event handler. > > Now, you may wish to signal t

Re: [Live-devel] All client termination

2012-09-11 Thread Ross Finlayson
> Right now Live555 loop run in separate thread. The clean up function can be > called from the another thread No! You cannot safely do this! Read the FAQ (that you were asked to do before posting to this mailing list)! Apart from "triggerEvent()" (see below), all calls to LIVE555 code *must*

[Live-devel] All client termination

2012-09-11 Thread Звягинцев Антон
Hello. I am looking for safe code to terminate all active RTSPClient (and their connections) without stopping main Live555 loop. Right now Live555 loop run in separate thread. The clean up function can be called from the another thread and looks like this: void RTSPSession::cleanup() {