1 Reply Latest reply on Mar 22, 2010 1:40 PM by Michael Thornburgh

    What happens when a Stratus connected browser window is closed?

    wittyone

      Hi:

       

      Trying to understand how to detect the connections which are closed unexpectedly without the "disconnect" service. Is there a timeout that we could specify and disconnect in case of no activity?

       

      Thanks.

        • 1. Re: What happens when a Stratus connected browser window is closed?
          Michael Thornburgh Adobe Employee

          assuming the user closes the browser window cleanly (that is, the browser didn't crash or something), the RTMFP sessions will be closed down and peers should notice immediately most of the time.  that should appear as NetStream.Connect.Closed events at the peers i think.

           

          sometimes that "immediate close" packet might be lost, or the browser quits/crashes unexpectedly.  in this case, peers will notice that you don't respond to their keepalive traffic and will time out after 1-2 minutes.