Media Source Extensions
The VideoPlaybackQuality.totalFrameDelay read-only
property returns 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.
Value
A number.
Examples
const videoElt = document.getElementById("my_vid");
const quality = videoElt.getVideoPlaybackQuality();
alert(quality.totalFrameDelay);
Browser compatibility
See also
- The HTMLVideoElement.getVideoPlaybackQuality() method for constructing and returning this interface.
- MediaSource
- SourceBuffer
来源:MDN Web Docs / Mozilla 贡献者 · 作者与贡献记录 · CC BY-SA 2.5。离线整理了版式、链接和媒体显示。
