[Live-devel] JPEGVideoRTPSink and Restart markers
Cristiano Belloni
belloni at imavis.com
Fri Nov 12 00:48:15 PST 2010
Il 10/11/2010 20:57, Ross Finlayson ha scritto:
>> Il 10/11/2010 17:50, Ross Finlayson ha scritto:
>>
>>> fprintf(stderr, "DEBUG: %d = %d - (%d + %d + %d), tbs %d, tba %d,
>>> ods %d\n", newPacketStart, fOutBuf->curPacketSize(), rtpHeaderSize,
>>> fSpecialHeaderSize, frameSpecificHeaderSize(),
>>> fOutBuf->totalBufferSize(), fOutBuf->totalBytesAvailable(),
>>> fOutBuf->overflowDataSize());
>>>
>> Dear Ross,
>> What I get after crashing is:
>>
>> DEBUG: 1424 = 1448 - (12 + 12 + 0), tbs 1000568, tba 962228, ods 35806
>>
>> (I know it seems ok
>
> Yes, it is, which means that your previous description of the problem
> was wrong.
>
> I suspect that the 'efficiency hack' is not the cause of the problem,
> and that disabling it doesn't fix the problem, but just masks it
> somehow. (I.e., it still exists, but just doesn't become obvious.)
>
>
>> As additional info, here's the traceback of the crash:
>>
>> *** glibc detected *** ./rtspServer: munmap_chunk(): invalid pointer:
>> 0x406e5008 ***
>> ======= Backtrace: =========
>> /lib/libc.so.6[0x40231f3c]
>> ./rtspServer(_ZN15OutPacketBufferD1Ev+0x18)[0x5db3c]
>> ./rtspServer(_ZN18MultiFramedRTPSinkD2Ev+0x3c)[0x6a10c]
>> ./rtspServer(_ZN12VideoRTPSinkD2Ev+0x14)[0x6a410]
>> ./rtspServer(_ZN16JPEGVideoRTPSinkD2Ev+0x14)[0x61c0c]
>> ./rtspServer(_ZN20LiveJPEGVideoRTPSinkD0Ev+0x2c)[0x45e80]
>
> What is "LiveJPEGVideoRTPSink"? I told you that you no longer needed
> to subclass "JPEGVideoRTPSink". I meant it.
>
> Because the problem seems to occur only when you add your own custom
> code, I'm not going to be able to help you fix it.
Dear Ross,
LiveJPEGVideoRTPSink adds only a parameters struct to the class members;
it does nothing else. Anyway, I'm gonna remove it and investigate further.
Regards,
Cristiano.
--
Belloni Cristiano
Imavis Srl.
www.imavis.com <http://www.imavis.com>
belloni at imavis.com <mailto://belloni@imavis.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.live555.com/pipermail/live-devel/attachments/20101112/3baa2846/attachment-0001.html>
More information about the live-devel
mailing list