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
_______________________________________________
live-devel mailing list
live-devel@lists.live555.com
http://lists.live555.com/mailman/listinfo/live-devel

Reply via email to