1 Reply Latest reply on Apr 16, 2013 1:23 PM by Michael Thornburgh

    How to detect connection loss between peers

    Bomber-man Level 1

      Hello,

       

      I am trying to get my head around how can I detect when two connected peers lose connection between themselves, not between a peer and Cirrus, based on the VideoPhoneLabs app.

       

      I know this might not be a question related to Cirrus in particular. I thought about creating a socket connection between peer but that works only with AIR as I learned, since you need a server for that.

       

      Is there an event I can listen to for that? I tested the app and sometimes even if you disconnect, the video stream will keep on streaming, so checking for incoming video stream data might not be the solution.

       

      Any feedback would be greatly appreciated! Thank you!