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.
VideoPlaybackQuality
Properties
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 associatedHTMLVideoElement
. -
totalVideoFrames
Read only -
An
unsigned long
giving the number of video frames created and dropped since the creation of the associatedHTMLVideoElement
.
Obsolete properties
-
corruptedVideoFrames
Read only -
An
unsigned long
giving the number of video frames corrupted since the creation of the associatedHTMLVideoElement
. A corrupted frame may be created or dropped. -
totalFrameDelay
Read only Deprecated -
A
double
containing the sum of the frame delay since the creation of the associatedHTMLVideoElement
. The frame delay is the difference between a frame's theoretical presentation time and its effective display time.
Methods
The VideoPlaybackQuality
interface has no methods, and does not inherit any.
Specifications
Specification |
---|
Media Playback Quality # videoplaybackquality-interface |
Browser compatibility
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
|
11
Only works on Windows 8+.
|
15
|
8
|
4.4.3
|
25
|
42
|
14
|
No
|
1.5
|
corruptedVideoFrames |
80
|
12
|
42-73
|
11
Only works on Windows 8+.
|
67
|
8
|
80
|
80
|
No
|
57
|
No
|
13.0
|
creationTime |
23
|
12
|
42
|
11
Only works on Windows 8+.
|
15
|
8
|
4.4.3
|
25
|
42
|
14
|
No
|
1.5
|
droppedVideoFrames |
23
|
12
|
42
|
11
Only works on Windows 8+.
|
15
|
8
|
4.4.3
|
25
|
42
|
14
|
No
|
1.5
|
totalFrameDelay |
23
|
12
|
No
|
11
Only works on Windows 8+.
|
15
|
8
|
4.4.3
|
25
|
No
|
14
|
No
|
1.5
|
totalVideoFrames |
23
|
12
|
42
|
11
Only works on Windows 8+.
|
15
|
8
|
4.4.3
|
25
|
42
|
14
|
No
|
1.5
|
See also
- The
HTMLVideoElement.getVideoPlaybackQuality()
method to get aVideoPlaybackQuality
object MediaSource
SourceBuffer
© 2005–2021 MDN contributors.
Licensed under the Creative Commons Attribution-ShareAlike License v2.5 or later.
https://developer.mozilla.org/en-US/docs/Web/API/VideoPlaybackQuality