[Live-devel] Segmentation fault in DelayQueue::removeEntry(DelayQueueEntry*)

Francisco Feijoo francisco at j2kvideo.com
Fri Nov 4 09:33:13 PDT 2011


OK, thanks your help.
-- 
Francisco Feijoo
Software Engineer
J2K Video Limited

T: +34 654967246
T: +44 020 8133 9388
E: francisco at j2kvideo.com
W: www.j2kvideo.com

El 04/11/2011, a las 16:05, Ross Finlayson escribió:

>> Is this a wrong way to maintain the connection to the camera? Could this be the cause of the crash?
> 
> No, I don't think so.  What you're doing looks OK.  Just make sure, though, that you stop the periodic calls to timeout() if/when the session ends.  (You can do this using "TaskScheduler::unscheduleDelayedTask()".)  If you try to call your "RtspConnection::timeout()" after "client" and/or "session" have been deleted, then bad things will definitely happen.
> 
> 
> Also (although this is not the cause of your problem) you should really be using the asynchronous "RTSPClient" interface rather than the old synchronous interface.  E.g., you should be calling "sendGetParameterCommand()" instead of "getMediaSessionParameter()", and "sendOptionsCommand()" instead of "sendOptionsCmd()".  Etc.  The synchronous "RTSPClient" interface is now deprecated, and will likely be removed completely sometime in the future.
> 
> 
> Ross Finlayson
> Live Networks, Inc.
> http://www.live555.com/
> 
> _______________________________________________
> live-devel mailing list
> live-devel at lists.live555.com
> http://lists.live555.com/mailman/listinfo/live-devel

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.live555.com/pipermail/live-devel/attachments/20111104/3a785f52/attachment-0001.html>


More information about the live-devel mailing list