> Maybe the speed of streaming frames is much faster than the speed of
> generating frames. So when function “doGetNextFrame()” is called, no frame is
> put into memory. If I use sleep() to wait for frames, thread blocks and
> streaming AAC frames slowns down.
No, you shouldn't call "sleep()" a
Hi,
H.264 and AAC frames are generated and put into 2 CLists in memory. Two
classes are implemented to get frames from memory, live this:
void ADTSRealTimeStreamSource::doGetNextFrame()
{
if(fAVPktList->empty()){ //if no frames in
CList, sleep until CList is no