[Live-devel] RTSP socket from a server remains open after a client disconnection

GENESTIER Denis denis.genestier at thalesgroup.com
Wed May 30 06:34:29 PDT 2018


Hi,

I am facing an odd behavior of the RTSP server and it is something that looks like a bug to me.
To easily reproduce it, just use a RTSP server (live555MediaServer on a CentOS distro for exemple) on a computer A and connect it with a client (like VLC) on a second computer B.
Then if you disconnect the Ethernet wire of the computer B, the server will close the session, the RTP and RTCP sockets (in UDP mode), but not the RTSP connection (in TCP) : the socket remains open (seen with lsof -a -i tcp -p <live555MediaServerPID>).
After the reconnection, a new RTSP/TCP socket will be opened but the old one remains established "ad vitam aeternam" despite it is not used anymore.

>From my point of view, it is a resource leak.

What do you think about it? Am I doing something wrong? Is there something to tune in the OS to close this socket?

Best regards,
Denis.

[cid:image001.png at 01D3F807.9DF90AC0]

Denis GENESTIER
INGENIEUR COMPOSANTS LOGICIEL
Tel.: +33 (0) 1 73 32 19 51
Fax: +33 (0)1 73 32 16 95

THALES COMMUNICATIONS & SECURITY S.A.S
20-22 rue Grange Dame Rose
78141 VELIZY Cedex

www.thalesgroup.com<http://www.thalesgroup.com>

[cid:image002.png at 01D3F807.9DF90AC0]<http://www.linkedin.com/company/thales>

[cid:image003.png at 01D3F807.9DF90AC0]<https://twitter.com/thalesgroup>

[cid:image004.png at 01D3F807.9DF90AC0]<https://www.facebook.com/thalesgroup>

[cid:image005.png at 01D3F807.9DF90AC0]<https://www.youtube.com/user/thethalesgroup>

[cid:image006.png at 01D3F807.9DF90AC0]<https://pinterest.com/thalesgroup/>

[cid:image007.png at 01D3F807.9DF90AC0]<https://plus.google.com/+thales>





-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.live555.com/pipermail/live-devel/attachments/20180530/aae96e9d/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.png
Type: image/png
Size: 2428 bytes
Desc: image001.png
URL: <http://lists.live555.com/pipermail/live-devel/attachments/20180530/aae96e9d/attachment-0007.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image002.png
Type: image/png
Size: 1621 bytes
Desc: image002.png
URL: <http://lists.live555.com/pipermail/live-devel/attachments/20180530/aae96e9d/attachment-0008.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image003.png
Type: image/png
Size: 1621 bytes
Desc: image003.png
URL: <http://lists.live555.com/pipermail/live-devel/attachments/20180530/aae96e9d/attachment-0009.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image004.png
Type: image/png
Size: 1488 bytes
Desc: image004.png
URL: <http://lists.live555.com/pipermail/live-devel/attachments/20180530/aae96e9d/attachment-0010.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image005.png
Type: image/png
Size: 1490 bytes
Desc: image005.png
URL: <http://lists.live555.com/pipermail/live-devel/attachments/20180530/aae96e9d/attachment-0011.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image006.png
Type: image/png
Size: 1709 bytes
Desc: image006.png
URL: <http://lists.live555.com/pipermail/live-devel/attachments/20180530/aae96e9d/attachment-0012.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image007.png
Type: image/png
Size: 1802 bytes
Desc: image007.png
URL: <http://lists.live555.com/pipermail/live-devel/attachments/20180530/aae96e9d/attachment-0013.png>


More information about the live-devel mailing list