Skip navigation
Currently Being Moderated

AutoCloseIdleClients and RTMFP

Jun 22, 2011 12:46 PM

I'm trying to implement a solution for "ungraceful" disconnects from my app, such as when the browser window crashes or the network connection drops.  For RTMP connections everything is pretty easy, but for RTMFP connections to the server, it's a bit more difficult.


In my main.asc file I've tried using as well as trying Client.getStats() and checking the ping_rtt time, but they both don't work as expected with RTMFP (it appears that the client is still alive when it is not).  At the moment I'm using a reverse-RPC call and having the server call a method on the client and waiting for a works ok but I'm not sure that's the best solution.  Is there a way to configure auto-disconnecting dropped RTMFP connection after a certain period using the xml config files?


Message was edited by: Rich Rodecker - Changed Thread title


More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points