Skip to main content
January 6, 2010
Question

Timeout problem

  • January 6, 2010
  • 1 reply
  • 459 views

Hi,

I've got a weird problem with my Flash player. The problem is that if you pause a program in the flash player, leaving it for any longer than about 6 minutes will render the flash player unusable, all controls will become greyed out and you must refresh to begin playback and navigate to your previous position, this is annoying.

I tested to see if it was a flash player specific problem by loading in a file without it being connected to the Flash media server, the problem was not present and you could always resume. This suggested it could be a connection or timeout issue with the flash streaming server. I've had a look through the config to see if there was anything that could  be changed but couldnt come up with anything.

I guess if  the flash streaming server is not set to timeout streams I will be exposing myself to very simple denial of service attack.... does anyone have any ideas?

    This topic has been closed for replies.

    1 reply

    Asa_-_FMS
    Adobe Employee
    Adobe Employee
    January 6, 2010

    I think you'll want to have an idea if your player framework is disconnecting due to idle or the FMS you're connecting to is doing so.  I recommend using wireshark on your local test to determine this and see which side is issuing the reset for your socket.  If it's the player then you're going to want to take the timeout out or adjust it for your code.  If it's on FMS then it can be configured if you control it, and if not you'll have to speak with your provider about your use case.

    Asa

    January 8, 2010

    Thanks for your post. I've had a look with Wireshark and it appears that it's the player doing this - the FMS happily sits there until exactly 5 minutes and then freezes after the client sends a file its way.

    Excuse my ignorance (I am working on a Flash player that I have not developed and struggling to follow the code) - judging by your previous post it looks like I will need to reset a timeout in my code. What timeout is this and what would it look like? I've gone through all the code and can't find anything that might be resetting the player in this way.