[Live-devel] RTSP Server Crash when switching from multicast to unicast

david.myers at panogenics.com david.myers at panogenics.com
Fri May 1 07:30:52 PDT 2015


 

I've inherited most of this code and I'm supporting it but I'm not
really an expert at it. 

>I'd still like to know exactly where/how/why the crash was happening, to make sure that it's not a problem with our code. (As always, I assume that you're using the latest version of the code.)

Yes, it's the latest version, well at least it's from April 2015. 

>Also, you haven't said anything about your "ServerMediaSubsession" object (i.e., "stream->sms" in your code). I presume that it's a "PassiveServerMediaSubsession" (because you're streaming via multicast), but have you modified or subclassed it in any way (and reimplemented any virtual functions)? 

Yes, it creates and adds a PassiveServerMediaSubsession, when in
multicast mode. It is not sub-classed in any way. 

The code snippet I showed just tries to shut everything down so that it
can be re-opened in Unicast mode. The server is capable of being
configured in either mode. It seems ok as long as I get the right order
of shutdown events. 

Hope this helps - David 
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.live555.com/pipermail/live-devel/attachments/20150501/78b88ad0/attachment.html>


More information about the live-devel mailing list