<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=Windows-1252">
</head>
<body>
Just joining the conversation... What order of magnitude do you recommend setting the NAL unit size to ? MTU size ? 64kB ? More ?
<div><br>
</div>
<div id="ms-outlook-mobile-signature" dir="auto"><br>
</div>
<hr style="display:inline-block;width:98%" tabindex="-1">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" style="font-size:11pt" color="#000000"><b>From:</b> live-devel <live-devel-bounces@us.live555.com> on behalf of Ross Finlayson <finlayson@live555.com><br>
<b>Sent:</b> Thursday, March 10, 2022 5:36:56 PM<br>
<b>To:</b> LIVE555 Streaming Media - development & use <live-devel@us.live555.com><br>
<b>Subject:</b> Re: [Live-devel] [Mirasys] Live555 RTSP server questions</font>
<div> </div>
</div>
<div class="BodyFragment"><font size="2"><span style="font-size:11pt;">
<div class="PlainText">Congratulations - you’ve discovered datagrams! They sometimes get lost.<br>
<br>
You can try to (1) reduce the rate at which datagrams get lost, and/or (2) reduce the *effect* of a datagram getting lost.<br>
<br>
For (1):<br>
- Do you have one or more middleboxes - somewhere between your server and client - that might be dropping packets?<br>
- You could try increasing the OS’s internal buffer size for the transmitting socket (for the server) and/or the receiving socket (for the client). By default, this is set to 50 kBytes for each socket - which is usually enough. However, you could
try increasing it. (grep “increaseSendBufferTo” and “increaseReceiverBufferTo” in the code.)<br>
<br>
For (2):<br>
- You could reconfigure your encoder to decrease the *size* of your H.265 NAL units (so that they will fit in fewer RTP packets, making it less likely that the loss of a single RTP packet will cause the whole NAL unit to be unusable). I.e., you could
encode each key frame as a series of ‘slice’ NAL units, instead of just one (ridiculously large) NAL unit.<br>
<br>
<br>
Ross Finlayson<br>
Live Networks, Inc.<br>
<a href="http://www.live555.com/">http://www.live555.com/</a><br>
<br>
<br>
_______________________________________________<br>
live-devel mailing list<br>
live-devel@lists.live555.com<br>
<a href="http://lists.live555.com/mailman/listinfo/live-devel">http://lists.live555.com/mailman/listinfo/live-devel</a><br>
</div>
</span></font></div>
</body>
</html>