By “deinit”, I presume you mean the calling of your “FramedSource” subclass’s destructor.
For a RTSP server like yours (with “reuseFirstSource” set to True), this destructor will be called if: - The input stream source closes. (If your input source is a live video camera, rather than pre-recorded file, then this probably won’t ever happen.), or - Only one RTSP client is currently accessing the stream, and this client closes the stream, by sending a RTSP “TEARDOWN” command, or - The server has not received any RTSP commands - or RTCP “RR” packets - from any client in “reclamationSeconds” seconds. The default value of “reclamationSeconds” is 65. So, by default, the server should reclaim the session state for any ‘dead' client (that has not explicitly sent a RTSP “TEARDOWN”) in 65 seconds. Once no clients remain, the server should then call your “FramedSource” subclass’s destructor. In other words, be patient. 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