<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; ">After running some tests, I was able to confirm that my suspicions on the cause of the RTP/RTCP-over-TCP issues that Ralf Globisch has been seeing was correct: The problems are caused by some of the server's "send()" calls (on the TCP socket) failing with the 'EAGAIN' error, presumably because the data stream's bit rate has (at least temporarily) exceeded the capacity of the TCP connection. Because transmitting a RTP or RTCP packet over a TCP connection involves four different "send()"s (the '$', the 'stream channel id', packet size, and the packet data), the failure of one - but not all - of these four "send()"s will cause incomplete binary data to appear on the receiver's TCP connection.<div><br></div><div>I have installed a new version (2012.10.16) of the "LIVE555 Streaming Media" software that makes servers handle this a bit more gracefully. If the initial '$' send succeeds, but one of the remaining data send()s (i.e, the 'stream channel id', packet size, or packet data) fails with 'EAGAIN', then we force those send()s to succeed, by temporarily blocking if necessary.</div><div><br></div><div><div>(So, Ralf should now upgrade his server(s) to use the latest version of the software.)</div></div><div><br></div><div>However, a reminder to everyone, once again, that RTP/RTCP-over-TCP streaming should be used *only* if you are behind a firewall that blocks UDP packets.</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; font-size: medium; "><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; font-size: medium; ">Ross Finlayson<br>Live Networks, Inc.<br><a href="http://www.live555.com/">http://www.live555.com/</a></span></span>
</div>
<br></body></html>