Re: [whatwg] Memory management problem of video elements

On Wed, 20 Aug 2014, Philip Jägenstedt wrote:
>
> I don't know, but would guess that not all media frameworks can seek to 
> an exact audio sample but only to the beginning of a video frame or an 
> audio frame, in which case currentTime would be slightly off. One could 
> just lie about currentTime until playback continues, though.

Note that setting currentTime is required to be precise, even if that 
means actually playing the content in silence for a while to get to the 
precise point. To seek fast, we have a separate fastSeek() method.

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

Received on Wednesday, 20 August 2014 17:06:22 UTC