[Live-devel] When streaming RTP over TCP, Live555 Proxy Server sometimes does not reconnect to 'back end' device

Erik Montnemery erik at montnemery.com
Sat Feb 25 04:11:03 PST 2017


> I've found one more more similar issue, the new one is triggered by the
> following sequence:
> - Connection to back-end server is torn down
> - The torn down connection triggers a read error which causes the socket to
>   be closed
> - If a client to the proxy at this point issues PLAY, the closed socket will
>   still be referenced, causing this error:
>   BasicTaskScheduler::SingleStep(): select() fails: Bad file descriptor
>
>   I've tried to solve this by overloading handleAlternativeRequestByte1 in
>   ProxyRTSPClient.
>   I'm currently testing this change.
After some fairly extensive testing, the change seems to work as intended.
Without the change, I see the error every few days
With the change, no error in more than two weeks
I've attached a proposed patch.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ProxyServer_handleAlternativeRequestByte.patch
Type: application/octet-stream
Size: 5575 bytes
Desc: not available
URL: <http://lists.live555.com/pipermail/live-devel/attachments/20170225/e69c5563/attachment.obj>


More information about the live-devel mailing list