Skip to main content
Participating Frequently
March 24, 2009
Question

FMS 2.0.5 client disconnection

  • March 24, 2009
  • 1 reply
  • 613 views
Hi Everyone,

1. The basic problem I would like to solve is detecting when a connection to the Flash Media Server fails.

Our client-side application establishes a persistent NetConnection and publishes a number of video/audio streams to the FMS.

After publishing some videos, some clients find that recording no longer works. I need to add code to let them know that there's a connection problem. I've studied the NetConnection class and can't find an built-in method that can help alert the user if the connection is broken.

2. Also, I'm having trouble tracking these events in the FMS logs. Are there any key statements I should look for that would tell me if the FMS has experienced a sudden loss of connectivity with a client?

I was thinking of using the onAppShutdown (?) event to detect when an application closes normally, so I can then get an idea of when it's closed down in other circumstances.

Sorry if this isn't the right forum, as this does involve our ActionScript and FMS - I wasn't sure where to post.

Thanks for your time,

Ajay P
    This topic has been closed for replies.

    1 reply

    Ajay_PAuthor
    Participating Frequently
    May 11, 2009

    Bump.

    Any ideas?

    This is a particular problem with users based in distant territories, e.g. South Africa. Our FMS is based in the UK.

    I would imagine the number of hops in the connection is a big factor in this. Are there recommended FMS settings for this kind of scenario?

    Ajay