[Live-devel] setAuxilliaryReadHandler: Core dumps

Vimal Garg vim.garg at gmail.com
Mon Nov 30 20:56:08 PST 2009


Hi,

I am working on a project where I need to record video from an IP camera and
process it. My job is to capture the stream and pass it on to next module.

After long discussion and research we had decided to make use of live555
stack as it is widely used (and tested). I have gone through the
openRTSP.cpp which actually saves all the streams to a file. I do not want
to record streams in a file and read from the file as this will have
latency.

I believe it is possible to have the streams in buffer but not clear how? I
went through RTPSource class which has a function
pointer setAuxilliaryReadHandler(). As I understand this is for registering
a handler for processing RTP read.

so I did the following in my code.

RTPSource *rtp = subsession->rtpSource();
rtp->setAuxilliaryReadHandler(ReadRTPPacket, clientData);

I was surprised when I ran my program. It crashed at above line. Can anyone
help me out with this issue.

Thanks in advance.

Regards,
Vimal
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.live555.com/pipermail/live-devel/attachments/20091201/f2f920e2/attachment.html>


More information about the live-devel mailing list