• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
Locked
0

How to monitor transfer data between FMS and Client

Explorer ,
Sep 20, 2014 Sep 20, 2014

Copy link to clipboard

Copied

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.

Views

202

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Employee ,
Sep 21, 2014 Sep 21, 2014

Copy link to clipboard

Copied

LATEST

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.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines