Summary: | REGRESSION (Safari 15.2): HLS/m3u8 videos no longer render in Canvas via drawImage() | ||
---|---|---|---|
Product: | WebKit | Reporter: | AndrewK <me> |
Component: | Canvas | Assignee: | Nobody <webkit-unassigned> |
Status: | RESOLVED CONFIGURATION CHANGED | ||
Severity: | Normal | CC: | dino, heycam, jer.noble, sabouhallawa, simon.fraser, webkit-bug-importer |
Priority: | P2 | Keywords: | InRadar |
Version: | Safari 15 | ||
Hardware: | All | ||
OS: | All |
Description
AndrewK
2021-12-23 23:58:54 PST
Thanks for filing the bug, Andrew. I can reproduce the problem in Safari 15.2. I think this is fixed in trunk and when I try the JSFiddle in Safari Technology Preview 136 the drawImage call is working properly. Could you confirm that it works in STP for you too? (In reply to Cameron McCormack (:heycam) from comment #2) > Thanks for filing the bug, Andrew. I can reproduce the problem in Safari > 15.2. I think this is fixed in trunk and when I try the JSFiddle in Safari > Technology Preview 136 the drawImage call is working properly. Could you > confirm that it works in STP for you too? Hi Cameron, thanks for the reply. I managed to get Safari Technical Preview 137 (Safari 15.4) running on macOS Big Sur 11.6. I was able to see the first frame drawn in the canvas, but playing the video does not update the frame in the canvas (stays at 00:00 frame). Disabling "GPU Process: Canvas Rendering" in STP restores the old behaviour where every requestAnimationFrame call, the video frames are updated in the canvas. So the functionality has improved, but still incomplete in the latest STP. Are you seeing the same behaviour? (In reply to AndrewK from comment #3) > So the functionality has improved, but still incomplete in the latest STP. > Are you seeing the same behaviour? I was testing STP 136 on Monterey before, but I just tried now with STP 137 on Big Sur 11.6.2 on an M1 MacBook Air, and the video is getting painted correctly to the canvas as the video plays. And I confirmed that GPU Process Canvas rendering is enabled. Thanks for checking. Very likely an issue on my end then, as I was testing via VM on an Intel Mac. I'll try and get access to more devices running Big Sur natively, and get back to you. Thanks Cameron Thanks Andrew. I'll close this bug but feel free to re-open if you find it's not just an issue on your end. |