Dear Experts,

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.

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.

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. 

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.

Thanks in advance for your inputs.

Ganesh


      
_______________________________________________
live-devel mailing list
live-devel@lists.live555.com
http://lists.live555.com/mailman/listinfo/live-devel

Reply via email to