<html dir="ltr">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style id="owaParaStyle" type="text/css">P {margin-top:0;margin-bottom:0;}</style>
</head>
<body ocsi="0" fpstyle="1" style="word-wrap:break-word">
<div style="direction: ltr;font-family: Tahoma;color: #000000;font-size: 10pt;">
<div style="font-family: Times New Roman; color: #000000; font-size: 16px">
<div>
<div>You're thinking about this the wrong way.  "doGetNextFrame()" gets called automatically (by the downstream, 'transmitting' object) whenever it needs a new NAL unit to transmit.  So you should just deliver the next NAL unit (just one!) whenever "doGetNextFrame()"
 is called.  If your encoder can generate more than one NAL unit at a time, then you'll need to enqueue them in some way.<br>
<font color="008000">[Fabrice] I would be interested in understanding a bit more here. Is live555 is a pull model? How does the transmitting object knows when to send the next frame? Who/what decides to call doGetNextFrame() and when?<br>
<font color="008000">I t<font color="008000">hink I underst<font color="008000">ood
<font color="008000">all the other bits you mentioned, so I'll make the necessary cha<font color="008000">nges.</font></font></font></font></font><br>
</font></div>
<br>
</div>
</div>
</div>
</body>
</html>