Skip to main content
Inspiring
September 21, 2014
Question

How to monitor transfer data between FMS and Client

  • September 21, 2014
  • 1 reply
  • 258 views

Hi all

I want to send bytes array from Flash Media Server to client

Client.prototype.sendData = function(bytes){

//bytes is BytesArray

     client[0].call("reciveData",null,bytes);

}

This code is work succesfully but I like to show progress bar to download this BytesArray for client. But reciveData doesn't call before all ByteArray is download on to the client.

Please advise me to create progress bar for show how much if BytesArray is downloaded for client.

Any help will be appreciated.

    This topic has been closed for replies.

    1 reply

    Adobe Employee
    September 21, 2014

    You can find out the bandwidth between server and client and then call the above method for appropriate number of bytes data repeatedly based on what the bandwidth is..In between two function calls you can update the progress bar.