<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;"><div><blockquote type="cite">How can I resolve this problem?<br></blockquote><div><br></div>The best solution is to not send such large NAL units. Reconfigure your encoder to break up 'key frames' into multiple (therefore much smaller) 'slice' NAL units.</div><div><br></div><div><div>It's important to understand that each outgoing NAL unit - if it is larger than the RTP/UDP packet size (about 1500 bytes on most networks) - will be broken up into multiple outgoing RTP packets, and the receiver - both the proxy server and the final receiving client(s) - must receive *all* of these packets in order to be able to reconstruct the frame. In other words, if even one of these packets is lost, then the receiver will lose the *entire* NAL unit. That's why the NAL units - generated by your encoder - should be as small as is reasonable.</div><div><br></div><div><br></div></div><div>Alternatively (though not as good, for the reason noted above), you can increase the buffer size ("OutPacketBuffer::maxSize") that the "LIVE555 Proxy Server" uses. I.e., change line 59 of "proxyServer/live555ProxyServer.cpp".</div><div><br></div><div><div><blockquote type="cite">I try to increase "OutPacketBuffer::maxSize" to 100000 or 200000 but the problem it's the same.<br><br></blockquote></div><div><br></div><div>I'm not sure why; if you make this buffer size large enough, it should work (provided, of course, you don't lose any network packets, as noted above).</div><div><br></div><div>You should also make sure that you're using an up-to-date version of the "LIVE555 Streaming Media" code; see</div><div><span class="Apple-tab-span" style="white-space:pre"> </span><a href="http://www.live555.com/liveMedia/faq.html#latest-version">http://www.live555.com/liveMedia/faq.html#latest-version</a></div></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>