[Live-devel] input frame data too large for buffer
Juan Manuel Lopez Baio
jmbaio at gmail.com
Wed Oct 18 06:25:30 PDT 2006
On 10/17/06, Ross Finlayson <finlayson at live555.com> wrote:
> >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?
>
> OK, add that code before you create your "RTSPServer" object.
> --
Ok, that worked, but I had overviewed the last error which of course
now I'm still getting "StreamParser internal error (149997+ 4 >
150000)";
I looked in the code and found this comment:
// If this happens, it means that we have too much saved parser state.
// To fix this, increase BANK_SIZE as appropriate.
Guess I'm running out of buffer, only now it's a #define and not a
static attribute, so I guess there's no clean way to fix it, right?
More information about the live-devel
mailing list