[whatwg] Limiting the amount of downloaded but not watched video
glenn at zewt.org
Tue Jan 18 03:34:41 PST 2011
On Mon, Jan 17, 2011 at 5:01 PM, Zachary Ozer <zach at longtailvideo.com>wrote:
> > I assume you're comparing to the bandwidth usage of flash? Does flash
> > developers to control how the media is downloaded on the client? What
> > mechanisms does it provide? Maybe we can do something similar?
> There are a bunch:
> * backBufferLength : Number - [read-only] The number of seconds of
> previously displayed data that currently cached for rewinding and
> * backBufferTime : Number - Specifies how much previously displayed
> data Flash Player tries to cache for rewinding and playback, in
> * bufferLength : Number - [read-only] The number of seconds of data
> currently in the buffer.
> * bufferTime : Number - Specifies how long to buffer messages before
> starting to display the stream.
> * bufferTimeMax : Number - Specifies a maximum buffer length for live
> streaming content, in seconds.
> * bytesLoaded : uint - [read-only] The number of bytes of data that
> have been loaded into the application.
> * bytesTotal : uint - [read-only] The total size in bytes of the file
> being loaded into the application.
Note that this doesn't actually seem to include the amount of time to
buffer; bufferTimeMax appears to be for live streaming only (eg.
videoconferencing and webcams) to control sync, not static videos like
More information about the whatwg