Hi everybody,
I have a need for a web app that will allow a flash client to download files
at a specified speed.
I am using Flash for an application of mine which downloads JPG slides to
users' web based app.
Because I can't control how quickly a file (in this case, a JPG slide) is
downloaded, Flash will use all available bandwidth to download the file.
This causes performance problems, because the bandwidth gets throttled and I
don't have any remaining bandwidth to do other application tasks.
I don't know much about how a possible bandwidth usage can be limited (using
..NET) but I imagine that basically what I need is a proxy service that would
run on one of our web servers. I would ask the proxy service to send us a
specific file (by passing the URL for that file) and we would specify that
maximum bandwidth that we want to receive that file at.
So, my request might look something like this:
http://web.cpmany.com/speedCapProxy....&maxkbps=20000
The app would send the client whatever headers / mime information that would
be appropriate for that type of file. Typically the file would be a JPG or
SWF.
It's critical that this send the data contiguously and without bursting to
higher speeds.
If anyone has an idea about how this can be accomplished or any online
resources, I'd appreciate greatly!
Thanks so much
Martin