[Live-devel] Connection to RTSP server failing after some time
g.jaegy
g.jaegy at imagine3d.fr
Fri Jan 20 01:23:29 PST 2023
I'm just pressing the 'Esc' key on the video window.
Also, once the issue appear, no client can't connect anymore, even 65 seconds later. I have to restart the software (so the RTSP server) to make the issue disappear.
Actually I am unable to reproduce the issue in my office (simple unmanaged network), so possibly there is something wrong with the local network on the customer site.
I guess I'll have to go back on customer site at some point, however, I would like to prepare a few "weapons" that would allow me to gather some further information about what's going on. Any idea what could be helpful to figure out what the problem is ? Is there any way to configure Live555 so that it output some logging information or something ? That's not an easy one, really :/
-----Original Message-----
From: live-devel <live-devel-bounces at us.live555.com> On Behalf Of Ross Finlayson
Sent: Friday, January 20, 2023 8:54 AM
To: LIVE555 Streaming Media - development & use <live-devel at us.live555.com>
Subject: Re: [Live-devel] Connection to RTSP server failing after some time
> On Jan 19, 2023, at 11:32 PM, g.jaegy <g.jaegy at imagine3d.fr> wrote:
>
> Hi Ross,
>
> Actually, at any point there is no more than one or two connections opened simultaneously.
>
> What I did was to start ffplay, close ffplay, start ffplay, close ffplay, etc.
When you ‘close’ “ffplay”, is it sending a RTSP “TEARDOWN” command to the server? Or are you just killing it with <control-c? If the latter, then the server has no way to know that the RTSP TCP connection is no longer being used. It will wait for a period of time (by default, 65 seconds) to check whether it sees any more activity on that TCP connection. Then, and only then, will the server close the TCP connection.
So, if your client - for whatever reason - is starting, then killing “ffplay” several times in a row, then the server will keep each of these TCP connections will stay open for 65 seconds before reclaiming then.
Ross Finlayson
Live Networks, Inc.
http://www.live555.com/
_______________________________________________
live-devel mailing list
live-devel at lists.live555.com
http://lists.live555.com/mailman/listinfo/live-devel
More information about the live-devel
mailing list