[Bug 20760] <video> Expose statistics for tracking playback quality

https://www.w3.org/Bugs/Public/show_bug.cgi?id=20760

--- Comment #6 from Adrian Bateman [MSFT] <adrianba@microsoft.com> ---
(In reply to comment #5)
> I too would like to see something a little simpler. How about this?
> 
> partial interface HTMLMediaElement {
>   attribute readonly MediaPlaybackQuality playbackQuality
> }

We made this a method because we don't think the return object should be live.
It's tough to use the values if they change while you're using them.

> interface MediaPlaybackQuality {
>   readonly attribute unsigned long totalVideoFrames;
>   readonly attribute unsigned long droppedVideoFrames;
> };

Since we didn't want the return value to be live, we added a timestamp so that
you could use that to compare against a previous time.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.

Received on Thursday, 18 April 2013 21:15:28 UTC