W3C home > Mailing lists > Public > whatwg@whatwg.org > January 2011

[whatwg] Limiting the amount of downloaded but not watched video

From: Chris Pearce <chris@pearce.org.nz>
Date: Sun, 23 Jan 2011 09:47:16 +1300
Message-ID: <4D3B4254.1020001@pearce.org.nz>
On 22/01/2011 11:57 p.m., Philip J?genstedt wrote:
> I agree that there must exist a buffering strategy between 
> strategy=metadata and strategy=auto, but it's not clear that this must 
> be exposed as a preload state. The only difference between 
> preload=metadata and preload=state3 would be that preload=state3 would 
> expect the user to start playing soon and start buffering in 
> anticipation of that. Firefox has supported preload=metadata (and 
> earlier, lack of autobuffer attribute) for a long time. Is it a 
> problem in Firefox that playback is slow to start because too little 
> was buffered before suspending? 

Firefox's media decoder goes into its internal buffering mode when you 
play a preload=metadata video. Playback will actually start when one of 
the following is true: 30 seconds has passed, 30 seconds of the video 
data is buffered (as estimated using the average bitrate, if known), or 
the media is in readyState HAVE_ENOUGH_DATA. We could probably be a bit 
less conservative, and start playback earlier.

Chris P.
Received on Saturday, 22 January 2011 12:47:16 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:59:29 UTC