Bug 235176 - Fail to stream Canvas to Video
Summary: Fail to stream Canvas to Video
Status: RESOLVED DUPLICATE of bug 230623
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebRTC (show other bugs)
Version: Safari 15
Hardware: Unspecified Unspecified
: P1 Critical
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2022-01-13 01:43 PST by Echai
Modified: 2022-01-21 02:10 PST (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Echai 2022-01-13 01:43:46 PST
Very easy to simulate this bug! By using the following webrtc testing page with IOS 15.2 IPad.

https://webrtc.github.io/samples/src/content/capture/canvas-video/

1) open the page and control and move the left canvas picture

2) video on the right side is not showing

This Bug affect our Enterprise very much as we are sharing a demo screen (canvas) to our client. This is a very critical bug of IOS 15! All of staffs are stuck in IOS 14 now.
Comment 1 Radar WebKit Bug Importer 2022-01-20 01:44:14 PST
<rdar://problem/87817599>
Comment 2 Kimmo Kinnunen 2022-01-20 23:13:40 PST
Thanks for the report. Unfortunately the feature of capturing 2dcontext or WebGL canvas to a video element is currently failing intermittently. As a workaround, you could try to show the canvas element itself, if this is only possible for your application.

*** This bug has been marked as a duplicate of bug 230623 ***
Comment 3 Kimmo Kinnunen 2022-01-21 02:10:22 PST
To work around this problem, one might try to assign or re-assign the stream in a different JavaScript callback than the one that creates the video element.