Bug 230624
Summary: | MediaStream canvas.captureStream() for Canvas element provides frames too late | ||
---|---|---|---|
Product: | WebKit | Reporter: | Kimmo Kinnunen <kkinnunen> |
Component: | WebRTC | Assignee: | Nobody <webkit-unassigned> |
Status: | REOPENED | ||
Severity: | Normal | CC: | webkit-bug-importer, youennf |
Priority: | P2 | Keywords: | InRadar |
Version: | WebKit Local Build | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
See Also: | https://bugs.webkit.org/show_bug.cgi?id=230613 |
Kimmo Kinnunen
MediaStream canvas.captureStream() for Canvas element provides frames too late
To observe, obtain bug 230613 testcase mediastream-canvas-to-video.html
When canvas draws, the frame should go to the video.
Instead it doesn't go anywhere.
When the canvas draws a new frame, previous frame goes to video.
Attachments | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
Radar WebKit Bug Importer
<rdar://problem/83668648>
Kimmo Kinnunen
Will be fixed by bug 231022
*** This bug has been marked as a duplicate of bug 231022 ***
Kimmo Kinnunen
Scratch that, probably too risky. Should fix it separately
Kimmo Kinnunen
The frame should be captured and provided to video element during canvas display buffer preparation. However, at that moment the tree is already laid out. Submitting a frame will cause needs-layout assertion.