Flvplayback controls problem

Hi,

I have a video player that I built and am only using the flvplayback component for actually playing the video. I am handling all of the controls and everything else.

I am experiencing a problem where after waiting 20-30 min after a video completes none of the controls work. This is probably because the stream has closed.

Currently, I have a listener for DISCONNECT event (which fires after the standard 5 min timeout). Upon disconnection I am calling seek(0) to jump the playhead back to the beginning. This was implemented to fix a bug where the idleTimeout would kill the controls if the player was paused for more than 5 minutes. That works fine.

I’m not sure what is causing the problem. I don’t know if it is the idleTimeout (but this works fine after 5 minutes) or if the FMS is closing the connection after 20-30? Either way I’m pretty sure the controls aren’t working because of a connection problem.

Any feedback?