<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN">
<html><body style='font-size: 10pt; font-family: Verdana,Geneva,sans-serif'>
<p>I've inherited most of this code and I'm supporting it but I'm not really an expert at it.</p>
<pre>>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.)</pre>
<p>Yes, it's the latest version, well at least it's from April 2015.</p>
<p>>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)?</p>
<p>Yes, it creates and adds a PassiveServerMediaSubsession, when in multicast mode. It is not sub-classed in any way.</p>
<p>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.</p>
<p>Hope this helps - David</p>
<div> </div>
</body></html>