I am currently using rtmp.py for an RTMP live stream server. It works well, however several times a day, an individual with a presumably poor connection will vacate and leave their socket behind. Worse, nothing closes it except killing the entire server. Killcx won't even touch the connections. This is obviously not ideal. While the socket remains bound to, for example, /live1, other users cannot use this mount point.
The project is available on Github for source view. I am incredibly new to Python and in my research I believe the client connection falls hard which causes a failure to close(). I have tried to enlist the developer for help with no success. If anyone could help me implement a patch I will gladly submit it to the project page in hopes it will benefit others as well.
If you need additional information from me, please let me know. Thanks in advance!