W3C home > Mailing lists > Public > whatwg@whatwg.org > May 2010

[whatwg] Exposing framerate / statistics of <video> playback

From: Jeroen Wijering <mail@jeroenwijering.com>
Date: Sun, 30 May 2010 16:40:39 +0200
Message-ID: <24EBBAA2-176D-4E09-ADBD-1756B076C8AC@jeroenwijering.com>

> Has any thought been given to exposing such metrics as framerate, how many frames are dropped, rebuffering, etc from the <video> tag? My understanding is that in the Flash player, many of these types of statistics are readily available. This is interesting for things not just like benchmarking, but for a site to determine if it is not working well for clients and should instead e.g. switch down to a lower bitrate video. 
> Hasn't been discussed AFAIK, but I'd like to see a proposal.

Here's a list of what is available in AS3 through the NetStream.info object:


For determining whether the user-agent is able to play a video, these are the most interesting properties:

 readonly attribute unsigned long bandwidth::
    The current maximum server ? client bandwidth, in bits per second.

 readonly attribute unsigned long droppedframes::
    The number of frames dropped by the user agent since playback of this video was initialized.

Kind regards,

Jeroen Wijering
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.whatwg.org/pipermail/whatwg-whatwg.org/attachments/20100530/0bf47a73/attachment.htm>
Received on Sunday, 30 May 2010 07:40:39 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:59:23 UTC