<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div><blockquote type="cite"><div>So, I've started to use the H264VideoStreamer class directly as you suggest<br>and I get much further. However at a certain point after a number of<br>successful sendRTPOverTCP calls, subsequent calls seem to fail and then<br>never recover.</div></blockquote><div><br></div></div>Your problem here is basically that you are trying to 'cram 6 pounds into a 5-pound sack'. I.e., you are trying to send data over a TCP connection at a faster rate than the TCP connection is capable of delivering.<div><br></div><div>Each network connection has a certain bandwidth limit (obviously). if you try to stream data over this connection at a faster rate, then:</div><div><span class="Apple-tab-span" style="white-space:pre"> </span>- If you're streaming over UDP (the ideal thing to be doing), then some packets will get lost in the network.</div><div><span class="Apple-tab-span" style="white-space:pre"> </span>- If you're streaming over TCP (the 'less ideal' thing to be doing), then data will start buffering up in the operating system at the sending end, and then eventually (when the sending OS's buffer fills up), sends will fail. This is what you are seeing.</div><div><br></div><div>The important thing to understand is that there is *nothing* that you can do about this, other than to reduce the bitrate of your encoded data - which is something that you have to do at the encoder.</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>