Re: [media-and-entertainment] Frame accurate seeking of HTML5 MediaElement

We would need to consider skipped frames, buffering states, splicing MSE buffers, and variable FPS video to nail down the algorithm to advance the "frame counter", but let's go with that as a straw-man.  Say, adding a `.frameCounter` read-only property to `<video>`.

When you observe the `.frameCounter` for a <video> element, say in `requestAnimationFrame`, which frame would that correspond to?


-- 
GitHub Notification of comment by mfoltzgoogle
Please view or discuss this issue at https://github.com/w3c/media-and-entertainment/issues/4#issuecomment-397452932 using your GitHub account

Received on Thursday, 14 June 2018 22:06:13 UTC