[Live-devel] SegmentQueue::enqueueNewSegment() overflow

Ross Finlayson finlayson at live555.com
Sat May 8 07:16:42 PDT 2010


>I've built and tried the TestOnDemandRTSPServer in the testProgs 
>directory. Streaming a WAV file works flawless, but when streaming a 
>MP3 file I get the error
>
>SegmentQueue::enqueueNewSegment() overflow
>
>which is generated in MP3ADU.cpp.

The 'problem' here is the excessively 'VBR' nature of your input 
file, which was causing the code to run into the "SegmentQueueSize" 
limit.  Increasing this limit from 10 to 20 eliminates the error. 
(This will be fixed in the next release of the software.)


>  While increasing SegmentQueueSize obviously helps in avoiding this 
>error, there are still a lot of "gaps" in the playback.

The extreme 'VBR-ness' of your input file might be causing some 
difficulties elsewhere.  If you're still having problems with this 
file, you might want to consider reencoding it using less aggressive 
VBR - if you can.
-- 

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/20100508/852c4b46/attachment.html>


More information about the live-devel mailing list