Closed Bug 1588507 Opened 5 years ago Closed 5 years ago

WPT - Test media element currentTime behavior when playing a MediaStream

Categories

(Core :: WebRTC: Audio/Video, task, P3)

task

Tracking

()

RESOLVED FIXED
mozilla72
Tracking Status
firefox72 --- fixed

People

(Reporter: pehrsons, Assigned: pehrsons)

References

Details

Attachments

(2 files)

We implement currentTime behavior to spec (namely that it starts at 0 and doesn't progress unless playing), but not all browsers do. Let's reflect this in WPT.

As noted at https://github.com/w3c/mediacapture-main/issues/615#issuecomment-541338749.

Is currentTime expected to increment when srcObject is set to a CanvasCaptureMediaStream and afterward only one image is drawn onto a <canvas>?

Pushed by pehrsons@gmail.com:
https://hg.mozilla.org/integration/autoland/rev/815a4acd656b
Test that a media element's currentTime starts at 0 when playing a MediaStream. r=jib
https://hg.mozilla.org/integration/autoland/rev/22d25155b9ea
Test that a media element's currentTime doesn't skip while paused and playing a MediaStream. r=jib
Created web-platform-tests PR https://github.com/web-platform-tests/wpt/pull/20068 for changes under testing/web-platform/tests
Upstream web-platform-tests status checks passed, PR will merge once commit reaches central.
Status: ASSIGNED → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla72
Upstream PR merged by moz-wptsync-bot
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: