Bug 230621 - MediaStream canvas.captureStream() fails for Canvas Context2D
Summary: MediaStream canvas.captureStream() fails for Canvas Context2D
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: Canvas (show other bugs)
Version: WebKit Local Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
Keywords: InRadar
: 231598 (view as bug list)
Depends on:
Reported: 2021-09-22 06:18 PDT by Kimmo Kinnunen
Modified: 2021-10-28 00:51 PDT (History)
5 users (show)

See Also:


Note You need to log in before you can comment on or make changes to this bug.
Description Kimmo Kinnunen 2021-09-22 06:18:06 PDT
MediaStream canvas.captureStream() fails for Canvas Context2D

see the bug 230617 test case mediastream-canvas-to-video.html last few elements
Comment 1 Kimmo Kinnunen 2021-09-22 06:18:49 PDT
Sorry, bug 230613.
Comment 2 Radar WebKit Bug Importer 2021-09-29 06:19:16 PDT
Comment 3 Kimmo Kinnunen 2021-10-28 00:04:59 PDT
*** Bug 231598 has been marked as a duplicate of this bug. ***
Comment 4 Kimmo Kinnunen 2021-10-28 00:05:50 PDT
>This only occurs on Safari 15 and Safari Technology Preview. It does not occur on Safari 14.

> Here is a JSFiddle that reproduces the issue: https://jsfiddle.net/x8pz4u2y/1/. Click on the "Start" button to start capturing the canvas, which flashes between blue and green every second. Note that you may need to resize the window to get the video element to show in Safari 15 for some reason (which may be a separate bug but my main concern is that the resulting video is red).