Open Bug 1470482 Opened 6 years ago Updated 2 years ago

Further formalize behavior of HTMLMediaElement seekToNextFrame

Categories

(Core :: Audio/Video: Playback, enhancement, P3)

enhancement

Tracking

()

People

(Reporter: bryce, Unassigned)

References

Details

HTMLMediaElement.seekToNextFrame's internal workings have led to a number of bugs and behavior changes. seekToNextFrame is experimental, non-standard, and is used by tests, but we have not nailed down how it should behave in a number of cases.

There are some questions as to how the function should behave in various scenarios (non-exhaustive):
- If another seek is in progress should seekToNextFrame fail/succeed?
- If we allow seekToNextFrame during pending seek should we just resolve the promise when the pending seek is done, or queue up the next frame seek?

- Should we allow seekToNextFrame on elements that are not paused? (see bug 1467488 for issues caused by this)
- If we do, do we want to ensure some deterministic behavior?

It would be nice to have concrete answers to these questions and others, as to provide straight forward goals when issues are encountered with seekToNextFrame.
Priority: -- → P3
See Also: → 1450845, 1467488
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.