<html><head><meta http-equiv="Content-Type" content="text/html charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">I've decided to address this situation by implementing Gord Umphrey's 'send timeout' hack. A difference, however, is that if the blocking "send()" does time out, we close the socket. Because the socket is used for both RTSP and RTP/RTP-over-TCP, this means that all remaining network activity on this connection will cease. (If this is a server, then the "RTSPClientConnection" state will eventually get reclaimed normally.)<div><br></div><div>This change is implemented in the latest release: 2014.05.08</div><div><br></div><div>By default, the timeout interval is 500 ms. If you wish, you can change this by compiling "RTPInterface.cpp" with RTPINTERFACE_BLOCKING_WRITE_TIMEOUT_MS defined to be some other value. (A value of 0 means: Don't timeout - i.e., the previous behavior.)</div><div><br></div><div>(A reminder, once again, that this applies *only* to RTP/RTCP-over-TCP connections where the initial, non-blocking write succeeded in writing only part of the data.)</div><div><br></div><div>Alternatively, if you're running a RTSP server, you can call "RTSPServer::disableStreamingRTPOverTCP()" to tell the server to reject clients that request RTP/RTCP-over-TCP streaming.</div><br><br><div apple-content-edited="true">
<span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; ">Ross Finlayson<br>Live Networks, Inc.<br><a href="http://www.live555.com/">http://www.live555.com/</a></span></span>
</div>
<br></body></html>