On 5/6/2013 3:31 PM, Ralph Giles wrote:
On 13-05-05 10:27 AM, David Humphrey wrote:
I talk to a lot of web devs who say they want to know not only the
video's current time, but also the current frame number.  I realize the
spec doesn't have any notion of this, but I'd like to do an experimental
build that exposes this, and let them try it--see how significant it
actually is in the real world vs. "if only I could..."
Why do they want to know this, and why does dividing currentTime by the
framerate not work?

framerate is not a constant. ;-)

Applications (especially realtime) will want to show the "current" framerate (for some definition of current - last second, etc). They may want to take actions based on it as well.

Other apps use frame arrival as a way to know if a connection is still working (they can also use the currenttime, though).

--
Randell Jesup, Mozilla
_______________________________________________
dev-media mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-media

Reply via email to