[Live-devel] input frame data too large for buffer

Juan Manuel Lopez Baio jmbaio at gmail.com
Tue Oct 17 11:03:14 PDT 2006


On 10/17/06, Ross Finlayson <finlayson at live555.com> wrote:
> >I looked in LiveMedia code and found a couple of places where
> >OutPacketBuffer::maxSize is assigned; but, is there a way to modify
> >this without touching the code, I mean, is it configurable?
>
> Yes, but you do this in *your* code - not by changing the library code.
>
> I.e., add
>         OutPacketBuffer::maxSize = 100000;
> to your code, before you create any "RTPSink"s.

Ok, but how could I do this, given that I'm using RTSPServer and
ServerMediaSession and SubSession, and don't know from my app any
lower abstraction from LiveMedia?

> However, if your data really iw malformed, then there's no guarantee
> that this will solve your problem.
>

I souldn't think that it's malformed... there's just a lot of garbage
from the source as to the real data being encoded, but mencoder should
be working correctly... I thought maybe because of some unusual sizes
caused by this I was getting that error... anyway, my app crashes
thrugh LiveMedia when this ocurrs.


More information about the live-devel mailing list