Re: media element seek algorithm: don't throw

On Thu, 25 Mar 2010, Robert O'Callahan wrote:
> On Thu, Mar 25, 2010 at 10:30 PM, Ian Hickson <ian@hixie.ch> wrote:
> >
> > Can you ever evict past the current playback position? If so, what 
> > happens when you reach that point during playback?
> 
> For non-seekable resources we try very hard to not evict anything, 
> especially content after the current playback position, but in extreme 
> cases --- e.g., we need to free up space to allow other media elements 
> to make progress at all --- we will do that. If you reach the eviction 
> point, we'll have to reread the entire resource from the beginning to 
> get to the needed data.

Interesting, thanks.

In the model I had in mind when originally speccing this, I would have 
considered the above as seekable (albeit very slowly). I can understand 
marking it as not seekable, though.

-- 
Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'

Received on Thursday, 25 March 2010 20:55:40 UTC