<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:arial,helvetica,sans-serif;font-size:10pt">Dear Experts,<br><br>I am currently building a real-time system where in an encoder is connected to a streaming server. The encoded data in H.264 format is streamed out using Livemedia library.<br><br>For the same, I have implemented a class which derives FramedSource. In "doGetNextFrame" function of my class, I am transfering data to the buffer provided by Livemedia library which is then sent over network. I have a doubt as below.<br><br>I would like to transfer frame after frame (each a slice / NALU). However, in case of IDR/I frames, I get SPS, PPS along with slice. This is to ensure that any receiver connecting at anytime should be able to receive and decode data. However, I can pass only one NALU per call of my doGetNextFrame function call. Hence, to transfer an IDR frame, I require 3 calls to
 doGetNextFrame. <br><br>This causes buffer management and latency issues in my system. Hence, I would like to know if it possible to send more than one NALU per call of my instance or if there is a way to preempt the call to my doGetNextFrame? If there is an example which provides me some insight into either of the approaches, it would be great.<br><br>Thanks in advance for your inputs.<br><br>Ganesh<br><br><br></div><br>



      </body></html>