A VideoPlaybackQuality
object is returned by the HTMLVideoElement.getVideoPlaybackQuality()
method and contains metrics that can be used to determine the playback quality of a video.
A VideoPlaybackQuality
object is returned by the HTMLVideoElement.getVideoPlaybackQuality()
method and contains metrics that can be used to determine the playback quality of a video.
The VideoPlaybackQuality
interface doesn't inherit properties from any other interfaces.
creationTime
Read only
A DOMHighResTimeStamp
containing the time in milliseconds between the start of the navigation and the creation of the object.
droppedVideoFrames
Read only
An unsigned long
giving the number of video frames dropped since the creation of the associated HTMLVideoElement
.
totalVideoFrames
Read only
An unsigned long
giving the number of video frames created and dropped since the creation of the associated HTMLVideoElement
.
corruptedVideoFrames
Read only Deprecated
An unsigned long
giving the number of video frames corrupted since the creation of the associated HTMLVideoElement
. A corrupted frame may be created or dropped.
totalFrameDelay
Read only Deprecated Non-standard
A 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 has no methods, and does not inherit any.
Specification |
---|
Media Playback Quality # videoplaybackquality-interface |
Desktop | Mobile | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
Chrome | Edge | Firefox | Internet Explorer | Opera | Safari | WebView Android | Chrome Android | Firefox for Android | Opera Android | Safari on IOS | Samsung Internet | |
VideoPlaybackQuality |
23 | 12 | 42 | 11Only works on Windows 8+. |
15 | 8 | 4.4.3 | 25 | 42 | 14 | No | 1.5 |
corruptedVideoFrames |
80 | 12 | 42–73 | 11Only works on Windows 8+. |
67 | 8 | 80 | 80 | No | 57 | No | 13.0 |
creationTime |
23 | 12 | 42 | 11Only works on Windows 8+. |
15 | 8 | 4.4.3 | 25 | 42 | 14 | No | 1.5 |
droppedVideoFrames |
23 | 12 | 42 | 11Only works on Windows 8+. |
15 | 8 | 4.4.3 | 25 | 42 | 14 | No | 1.5 |
totalFrameDelay |
No | 12–79 | No | 11Only works on Windows 8+. |
No | 8 | 4.4.3 | No | No | No | No | No |
totalVideoFrames |
23 | 12 | 42 | 11Only works on Windows 8+. |
15 | 8 | 4.4.3 | 25 | 42 | 14 | No | 1.5 |
HTMLVideoElement.getVideoPlaybackQuality()
method to get a VideoPlaybackQuality
objectMediaSource
SourceBuffer
© 2005–2023 MDN contributors.
Licensed under the Creative Commons Attribution-ShareAlike License v2.5 or later.
https://developer.mozilla.org/en-US/docs/Web/API/VideoPlaybackQuality