[wpt-sync] Sync PR 41472 - Implement MediaStreamTrack.getStats() behind RuntimeEnabledFeatures.
Categories
(Testing :: web-platform-tests, task, P4)
Tracking
(firefox118 fixed)
| Tracking | Status | |
|---|---|---|
| firefox118 | --- | fixed |
People
(Reporter: wpt-sync, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 41472 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/41472
Details from upstream follow.
Henrik Boström <hbos@chromium.org> wrote:
Implement MediaStreamTrack.getStats() behind RuntimeEnabledFeatures.
This CL implements the following API behind a test-only flag:
https://w3c.github.io/mediacapture-extensions/#mediastreamtrack-frame-statsIt fully captures the ground work outlined in the extension spec,
however the flag is test-only because this prototype is subject to change
depending on some ongoing spec PRs and because we're currently failing
one of the WPTs added - to be fixed in a follow-up CL.Once the prototype is matured we'll do an I2S before unflagging.
Bug: chromium:1472978
Change-Id: Ia1156243e1379e9b77da4dd9bd13e8a90b53d196
Reviewed-on: https://chromium-review.googlesource.com/4778470
WPT-Export-Revision: 16ced0d35e6a886e8504e72a6e42ada708515c10
| Assignee | ||
Comment 1•3 years ago
|
||
| Assignee | ||
Comment 2•3 years ago
|
||
CI Results
Ran 9 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI
Total 1 tests and 6 subtests
Status Summary
Firefox
OK : 1
FAIL: 6
Chrome
OK : 1
FAIL: 6
Safari
OK : 1
FAIL: 6
Links
Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base
Details
New Tests That Don't Pass
- /mediacapture-extensions/MediaStreamTrack-getFrameStats.https.html [wpt.fyi]
- totalFrames increases over time:
FAIL(Chrome:FAIL, Safari:FAIL) - deliveredFrames increases, even without sinks:
FAIL(Chrome:FAIL, Safari:FAIL) - discardedFrames increases when frameRate decimation is happening:
FAIL(Chrome:FAIL, Safari:FAIL) - totalFrames is the sum of deliveredFrames and discardedFrames:
FAIL(Chrome:FAIL, Safari:FAIL) - Stats are frozen while disabled:
FAIL(Chrome:FAIL, Safari:FAIL) - getFrameStats throws on audio tracks:
FAIL(Chrome:FAIL, Safari:FAIL)
- totalFrames increases over time:
Comment 4•3 years ago
|
||
| bugherder | ||
https://hg.mozilla.org/mozilla-central/rev/63511e74ca63
https://hg.mozilla.org/mozilla-central/rev/e68bd5126787
Description
•