[Live-devel] What is the correct way to use OutPacketBuffer::increaseMaxSizeTo when fFrameSize > fMaxsize?

Ross Finlayson finlayson at live555.com
Fri Jul 10 16:15:59 PDT 2020


> A frame comes in that has a size of 616969

You shouldn’t be trying to stream frames this large.


> Is there a way to increase fMaxSize midstream?

“fMaxSize” is set by the downstream object (to specify the maximum size of the buffer that it provides, when it calls “getNextFrame()”).  To “doGetNextFrame()” (i.e., the handling by the upstream object), it is simply an ‘in’ variable, and so “doGetNextFrame()”  shouldn’t change it (and certainly shouldn’t increase it).


Ross Finlayson
Live Networks, Inc.
http://www.live555.com/




More information about the live-devel mailing list