[Live-devel] if the NAL is larger than fMaxSize

Chang,Yi-Wen chang.yiwen at tw.panasonic.com
Mon Nov 12 17:23:24 PST 2007


>>In doGetNextFrame(), if the NAL is larger than fMaxSize,
>>how to process the remaing data (fNumTruncatedBytes)?

>You can't, because they will not have been delivered (because you did 
>not provide enough space for hem).

>You need to make sure that the "maxSize" parameter to the 
>"getNextFrame()" call is at least as large as the largest NAL unit 
>you expect to receive.


Thank you. 
But I am confused.
I am playing H.264, and just implement H264VideoStreamFramer::doGetNextFrame() and checkForFrame().

As you said, should I control to call getNextFrame() from H264RTPSink with a large enough maxSize?
Could you show me directions of how to do that?

Another, what is is H264FUAFragmenter used for?

Thank you!

Best Regards,
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.live555.com/pipermail/live-devel/attachments/20071112/9408e310/attachment.html 


More information about the live-devel mailing list