First, *do not* send the same message to the mailing list more than once! (Because you did this (and because you're using an unprofessional email address), all future messages from you to the list will be moderated.)

Right now I'm not sure there's a clean way to delete RTSP sessions unless they are actually closed (using RTSP "TEARDOWN") beforehand, because otherwise any future incoming RTSP requests or RTCP packets might still try to be handled by the code, using deleted structures.

However, as I said before:
You can also call "RTSPServer::removeServerMediaSession()". This won't stop any existing stream (it will run until completion), but it will prevent any other clients from requesting the same data.

But is this really a problem? How often do you ever delete a RTSP server without destroying the application (process) that contains it. If you destroy the process, all the sockets (and thus client sessions) will get closed automatically.

In summary: IMHO, there really isn't a problem/issue here that's important enough to address right now.
--

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

Reply via email to