[Live-devel] segfault RtspClient
Gerald Hansink
gerald.hansink at ieee.org
Tue May 9 10:43:01 PDT 2017
hi ross,
using the latest livemedia sources i see a segfault sometimes when making a
rtsp connection to a axis ip camera.
it looks like in SocketDescriptor destructor a "alternative byte handler"
callback function is called with a pointer to a RtspClient instance
which is deleted.
in RtspClient destructor the callback is unregistered but sometimes the
input socket num to unregister the callback differs from the sock num used
when registering.
in previous version in RtspClient::resetTCPSockets the "alternative byte
handler" is cleared using the "input socket num" before setting it to -1.
RTPInterface::clearServerRequestAlternativeByteHandler(envir(),
fInputSocketNum); // in case we were receiving RTP-over-TCP
i think this line should be added again?
best regards
gerald
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.live555.com/pipermail/live-devel/attachments/20170509/8bd0e777/attachment.html>
More information about the live-devel
mailing list