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

2020-07-10 Thread Ross Finlayson
> 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 “doGe

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

2020-07-10 Thread Matthew Czarnek
I had a scenario where the frame was too large and the way I was handling it caused issues. What I would really like to do is be able to increase the size of the frame buffer for future frames if I overrun it once. So I was calling "OutPacketBuffer::increaseMaxSizeTo(fFrameSize);" and tried adding