RTSP client abrupt disconnection doesnt remove connection with rtsp server

James jam at tigger.ws
Thu Jul 15 11:36:09 UTC 2021



> On 15 Jul 2021, at 6:01 pm, Sapna kumari via gstreamer-devel <gstreamer-devel at lists.freedesktop.org> wrote:
> 
> Thanks Michael. Able to remove the session with timeout.
> 
> On Wed, 14 Jul 2021, 10:53 pm Michael Gruner, <michael.gruner at ridgerun.com <mailto:michael.gruner at ridgerun.com>> wrote:
> Maybe you could implement something like the following to periodically cleanup orphan sessions:
> 
> https://github.com/GStreamer/gst-rtsp-server/blob/43572a8943497d70f40d083de853f8356c38c6e1/examples/test-video.c#L36 <https://github.com/GStreamer/gst-rtsp-server/blob/43572a8943497d70f40d083de853f8356c38c6e1/examples/test-video.c#L36>
> 
> 
> 
>> On 14 Jul 2021, at 09:19, Sapna kumari via gstreamer-devel <gstreamer-devel at lists.freedesktop.org <mailto:gstreamer-devel at lists.freedesktop.org>> wrote:
>> 
>> Dear Team,
>> 
>> I have a running gst rtsp server on android device . I can connect to any number of clients successfully.
>> But if any of the client closes abruptly , for ex : kill the task from task manager, then i am not receiving disconnection in rtsp server.
>> Is there a way to remove rtsp client connection which no longer exists?

Sapna that is exactly what I want to do (but not on android). You'd save me lots of spelunking if you said a few words
Thanks
James


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20210715/5d66fa27/attachment.htm>


More information about the gstreamer-devel mailing list