W3C home > Mailing lists > Public > public-web-and-tv@w3.org > June 2018

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

From: Google <sysbot+gh@w3.org>
Date: Thu, 14 Jun 2018 22:06:10 +0000
To: public-web-and-tv@w3.org
Message-ID: <issue_comment.created-397452932-1529013969-sysbot+gh@w3.org>
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

This archive was generated by hypermail 2.3.1 : Thursday, 14 June 2018 22:06:13 UTC