> I am able to do that, but our camera doesn't support PAUSE command. Proxy > server is sending PAUSE command when all RTSP clients are disconnected. > I wish to send TEARDOWN command and delete that ServerMediaSession from proxy > server.
OK, but this prevents any more ('front-end') clients from accessing the stream later. > I did tried to delete session by using following code snippet [...] > > proxyRTSPClient->sendTeardownCommand(fClientMediaSubsession.parentSession(), > NULL, proxyRTSPClient->auth()); > proxyRTSPClient->fLastCommandWasPLAY = False; > > sms->fOurRTSPServer->deleteServerMediaSession((ProxyServerMediaSession*)sms); [...] > Sometimes this code work, but sometimes it doesn't. That's not a particularly helpful diagnosis :-) - but anyway, that code should work. 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