2 Replies Latest reply on Feb 14, 2012 10:55 PM by rexdtripod

    For AIR for IOS apps, what should I do with RTMP connections when user hits “Home” button?

    rexdtripod Level 1

      My app fires some rtmp connections to FMS for video and chat in its initialize phase (init function).  I notice the connection count rising in the FMS console each time I hit the "Home" button to minimize the app and then tapping the app again to restore.  Is AIR running my init() function over and over again with each home button push and app restore?


      If it is, how do I stop that?  The app fires video and chat on app start so there's really no place other than init() to make the connections.  Is there any way to distinguish between a true app start and just a recovery from a "Home" button idle?