This is an experimental technology
Check the Browser compatibility table carefully before using this in production.
The VideoPlaybackQuality
interface represents the set of metrics describing the playback quality of a video.
An instance is created using the HTMLVideoElement.getVideoPlaybackQuality()
method.
The VideoPlaybackQuality
interface doesn't inherit any property.
VideoPlaybackQuality.creationTime
Read only
DOMHighResTimeStamp
containing the time in miliseconds since the start of the navigation and the creation of the object.VideoPlaybackQuality.totalVideoFrames
Read only
unsigned long
giving the number of video frames created and dropped since the creation of the associated HTMLVideoElement
.VideoPlaybackQuality.droppedVideoFrames
Read only
unsigned long
giving the number of video frames dropped since the creation of the associated HTMLVideoElement
.VideoPlaybackQuality.corruptedVideoFrames
Read only
unsigned long
giving the number of video frames corrupted since the creation of the associated HTMLVideoElement
. A corrupted frame may be created or dropped.VideoPlaybackQuality.totalFrameDelay
Read only Obsolete since Gecko 30
double
containing the sum of the frame delay since the creation of the associated HTMLVideoElement
. The frame delay is the difference between a frame's theoretical presentation time and its effective display time.The VideoPlaybackQuality
interface neither implements any specific method, nor inherits any.
Specification | Status | Comment |
---|---|---|
Media Source Extensions The definition of 'VideoPlaybackQuality' in that specification. | Recommendation | Initial definition. |
Desktop | ||||||
---|---|---|---|---|---|---|
Chrome | Edge | Firefox | Internet Explorer | Opera | Safari | |
Basic support | 23 | Yes | 42
|
11
|
15 | 8 |
creationTime
|
23 | 12 | 42
|
11
|
15 | 8 |
droppedVideoFrames
|
23 | 12 | 42
|
11
|
15 | 8 |
corruptedVideoFrames
|
23 | 12 | 42
|
11
|
15 | 8 |
totalVideoFrames
|
23 | 12 | 42
|
11
|
15 | 8 |
totalFrameDelay
|
23 | 12 | 25 — 30
|
11
|
15 | 8 |
Mobile | |||||||
---|---|---|---|---|---|---|---|
Android webview | Chrome for Android | Edge Mobile | Firefox for Android | Opera for Android | iOS Safari | Samsung Internet | |
Basic support | 4.4.3 | ? | Yes | No | 30 | No | ? |
creationTime
|
4.4.3 | ? | Yes | No | 30 | No | ? |
droppedVideoFrames
|
4.4.3 | ? | Yes | No | 30 | No | ? |
corruptedVideoFrames
|
4.4.3 | ? | Yes | No | 30 | No | ? |
totalVideoFrames
|
4.4.3 | ? | Yes | No | 30 | No | ? |
totalFrameDelay
|
4.4.3 | ? | Yes | No | 30 | No | ? |
HTMLVideoElement.getVideoPlaybackQuality()
method for constructing and returning this interface.MediaSource
SourceBuffer
© 2005–2018 Mozilla Developer Network and individual contributors.
Licensed under the Creative Commons Attribution-ShareAlike License v2.5 or later.
https://developer.mozilla.org/en-US/docs/Web/API/VideoPlaybackQuality