Skip to main content
Touchwall TVBook a Live Walkthrough

ExpectedDisplayTime

School Athletic Recognition Video requestVideoFrameCallback Test: Per-Frame Diagnostics for Playback Acceptance

School Athletic Recognition Video requestVideoFrameCallback Test: Per-Frame Diagnostics for Playback Acceptance

A school athletic recognition video requestVideoFrameCallback test uses the browser’s requestVideoFrameCallback() API to inspect per-frame metadata—presentedFrames, expectedDisplayTime, and processingDuration—as an award or highlight video plays on a recognition display. The API, documented at MDN Web Docs, registers a callback on an HTMLVideoElement that fires when each frame is sent to the compositor, delivering a metadata object alongside that frame. A jump in presentedFrames between two successive callbacks indicates the player did not observe one or more compositor submissions during that interval—a useful signal for evaluating presentation continuity—but it does not on its own confirm whether the decoder discarded frames internally. expectedDisplayTime is the browser’s forward estimate of when the current frame will appear on screen; processingDuration, measured in seconds, records how long the decoder pipeline took to produce the frame. These two values measure different things and should not be compared directly.

Read More