D
D
Dmitry2012-02-23 12:05:28
Bandwidth
Dmitry, 2012-02-23 12:05:28

How to measure speed from client to Flash Media Server?

Unfortunately, I'm not very familiar with Flash. I want to make a widget that will test the upload and download speed from the user's computer to my Flash Media Server.
I googled that using Flash Media Server tools you can measure the channel width (bandwidth), but I need speed both to and from the server.
I think it would be possible to install an additional web server and download and upload files from it, then divide the size by time. But I would like to do without third-party software.
Perhaps someone has examples of similar widgets that work specifically with Flash Media Server, or just advise in which direction to look?
I'm using Flash Builder 4.5 (ActionScript 3)

Answer the question

In order to leave comments, you need to log in

1 answer(s)
C
Clark Kent, 2012-03-16
@FlashManiac

Well, in general, you can do this:
1. Transfer some kind of test data stream to the server or from the server. By package or as you wish.
2. Count how much it was transferred or transfer data of the same size in advance.
3. Record the start and end times of the transmission.
4. Calculate the average transfer rate, it is navna = the number of bytes transferred / the time spent on the transfer.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question