[Live-devel] RTP over TCP - What happens if a client closes the RTP socket gracelessly?

Renato MAURO (Libero) renatomauro at libero.it
Tue May 15 07:38:57 PDT 2012


Hello Ross.


    If an RTSP client (not developed by me and sadly not based on Live555) asks for a video, streaming with RTP over TCP, and after some minutes closes the RTP socket gracelessly (bug or black-out), doesn't (or can't) send the RTSP Teardown command, then the Live555 RTSP Server (OnDemandServerMediaSubSession):

1) waits only for the usual liveness timeout due to the lack of arrival of the RTCP RR command and, in case, terminates the matching RTPClientSession;

2) manages the usual liveness timeout; but it terminates the matching RTPClientSession also if the select() function, before the usual liveness timeout has occured, understands that the other end-point is dead (since the TCP level acknowledge is not received even after some retransmissions).


Thank you very much,

    Renato MAURO
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.live555.com/pipermail/live-devel/attachments/20120515/61db2195/attachment-0001.html>


More information about the live-devel mailing list