Size of QT file being downloaded

Peter Bogdanoff bogdanoff at me.com
Mon Jul 7 21:46:58 EDT 2014


Hi all,

I suspect there is no answer to this but…

I’m streaming QT fast start files from a server to a player. It’s a real interactive application where the user can play different parts of an audio file as it is downloading. If the data for a later start time hasn’t arrived yet, I put up a message that tells the user to wait for the audio to download. Then it starts playing when it does get the data.

I’m wanting to add a progress indictor that shows about how long the user needs to wait. It would be based on a calculation including the desired startTime, the duration of the file, and the amount of data already downloaded. 

Is there a way to determine the last item, the amount of data already downloaded? You can see it visually in the player controller, but I, for various reasons, don’t want to show the controller.

any ideas?

Peter Bogdanoff
UCLA



More information about the use-livecode mailing list