New issue
Advanced search Search tips

Issue 846267 link

Starred by 1 user

Issue metadata

Status: WontFix
Owner: ----
Closed: May 2018
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Mac
Pri: 2
Type: Bug



Sign in to add a comment

captureStream() on canvas freezes the canvas

Reported by suhanovs...@gmail.com, May 24 2018

Issue description

UserAgent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/66.0.3359.181 Safari/537.36

Steps to reproduce the problem:
1. have animation on canvas
2. create WebRTC stream from it (captureStream)
3. canvas stops refreshing even though animation JS code keeps drawing

What is the expected behavior?
canvas displays up-to-date contents

What went wrong?
Canvas stopped repainting itself. See attached video - chrome.mov. It works in FF (ff.mov). Also works in safari and in Canary (68.0.3438.0).

Did this work before? N/A 

Does this work in other browsers? Yes

Chrome version: 66.0.3359.181  Channel: stable
OS Version: OS X 10.13.4
Flash Version: 

In the repro file canvas repaints itself once in a while. If you lower canvas resolution to 300x150, repaining starts to work.
If WebRTC is streamed thought PeerConnection, the receiver observes same frozen image as rendered locally.
 
canvas.html
1.3 KB View Download
chrome.mov
1.3 MB View Download

Comment 1 by guidou@chromium.org, May 24 2018

Components: -Blink>WebRTC Blink>MediaStream>CaptureFromElement

Comment 2 by guidou@chromium.org, May 24 2018

Cc: emir...@chromium.org
Labels: Needs-Triage-M66
Status: WontFix (was: Unconfirmed)
https://chromium.googlesource.com/chromium/src/+/c8f117ce2885070675675564dc39be7e92c6853d probably fixed this.  Considering it doesnt repro on canary, marking it as "Wont Fix".

Sign in to add a comment