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

Ross Finlayson finlayson at live555.com
Mon Nov 12 05:53:53 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.

-- 

Ross Finlayson
Live Networks, Inc.
http://www.live555.com/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.live555.com/pipermail/live-devel/attachments/20071112/5d96f780/attachment.html 


More information about the live-devel mailing list