Skip to main content
Participant
October 27, 2006
Question

how to know FMS2 check client is not conect ?

  • October 27, 2006
  • 1 reply
  • 283 views
How to know Flash media server 2 check client is not connect( i have meet problem client fall net work but FMS2 is not know client is not connect )
    This topic has been closed for replies.

    1 reply

    October 27, 2006
    - you can ping client(not the best method)
    - you can use application.onDisconnect(objClient) method in your main.asc
    - if you have multiple server-side class(other .asc) you can attach an onDisconnect method to this class

    these solutions do not require a lot of code and I think they are the best in your case(from what I read in your small post)

    ex:
    myClass.prototype.onDisconnect = function(objClient){
    // your code ....
    }