Interface VideoPlaybackQuality
interface VideoPlaybackQuality {
corruptedVideoFrames: number;
creationTime: number;
droppedVideoFrames: number;
totalVideoFrames: number;
}
corruptedVideoFrames: number;
creationTime: number;
droppedVideoFrames: number;
totalVideoFrames: number;
}
Index
Properties
ReadonlycorruptedVideoFrames
corruptedVideoFrames: number
The VideoPlaybackQuality interface's read-only corruptedVideoFrames property the number of corrupted video frames that have been received since the video element was last loaded or reloaded.
ReadonlycreationTime
creationTime: number
The read-only creationTime property on the the browsing context was created this quality sample was recorded.
ReadonlydroppedVideoFrames
droppedVideoFrames: number
The read-only droppedVideoFrames property of the VideoPlaybackQuality interface returns the number of video frames which have been dropped rather than being displayed since the last time the media was loaded into the HTMLVideoElement.
ReadonlytotalVideoFrames
totalVideoFrames: number
The VideoPlaybackQuality interface's totalVideoFrames read-only property returns the total number of video frames that have been displayed or dropped since the media was loaded.
A
VideoPlaybackQualityobject is returned by the HTMLVideoElement.getVideoPlaybackQuality() method and contains metrics that can be used to determine the playback quality of a video.MDN Reference