Hi. I sometimes receive folowing errors when closing session.
RTSP response was truncated RTSP response was truncated We received a response not ending with <CR><LF><CR><LF> Failed to read response: We received a response not ending with <CR><LF><CR><LF> Failed to read response: ERROR Closing session Note that we are using custom made streaming server based on live555 code. Receiving client ends the session in this way: - User press "Stop" button. - customRTSPClient executes Shutdown() Shutdown code: Medium::close(aviOut); // avitOut is AviFileSink object MediaSubsessionIterator iter(*session); MediaSubsession* subsession; while ((subsession = iter.next()) != NULL) { Medium::close(subsession->sink); subsession->sink = NULL; } pThisRTSPClient->teardownMediaSession(*session); //pThisRTSPClient is RTSPClient object Medium::close(session); Medium::close(pThisMediaClient); AfterPlayingFunc() is empty. (It's difficult on to merge static functions with object code). Why does this happens, and does it have any infuense on memory dealocation of the session? Is this the right way to end session? Or this *must* be done in afterPlayingFunc()? Thanks. ELMA Kurtalj d.o.o. (ELMA Kurtalj ltd.) Vitezićeva 1a, 10000 Zagreb, Hrvatska (Viteziceva 1a, 10000 Zagreb, Croatia) Tel: 01/3035555, Faks: 01/3035599 (Tel: ++385-1-3035555, Fax: ++385-1-3035599 ) Www: www.elma.hr; shop.elma.hr E-mail: [EMAIL PROTECTED] ([EMAIL PROTECTED]) [EMAIL PROTECTED] ([EMAIL PROTECTED]) [EMAIL PROTECTED] ([EMAIL PROTECTED]) [EMAIL PROTECTED] ([EMAIL PROTECTED]) [EMAIL PROTECTED] ([EMAIL PROTECTED]) [EMAIL PROTECTED] ([EMAIL PROTECTED]) [EMAIL PROTECTED] ([EMAIL PROTECTED])
_______________________________________________ live-devel mailing list live-devel@lists.live555.com http://lists.live555.com/mailman/listinfo/live-devel