Issue metadata
Sign in to add a comment
|
fake device mediastream changed color in Chrome 61 |
||||||||||||||||||||
Issue descriptionUserAgent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Ubuntu Chromium/60.0.3112.113 Chrome/60.0.3112.113 Safari/537.36 Steps to reproduce the problem: 1. start chrome with --use-fake-device-for-media-stream 2. go to https://webrtc.github.io/samples/src/content/getusermedia/gum/ 3. the video shown is grey-ish as shown in the attached screenshot What is the expected behavior? the fake device is showing a green image. What went wrong? unclear. Seems only to affect fake devices. The video is transmitted the right way in Firefox. Also getting a snapshot of the video onto a canvas with this code still shows a green image: const remoteVideo = document.getElementById("gum-local"); const canvas = document.createElement("canvas"); canvas.width = remoteVideo.videoWidth; canvas.height = remoteVideo.videoHeight; const context = canvas.getContext("2d"); context.drawImage(remoteVideo, 0, 0, canvas.width, canvas.height); var img = document.createElement("img"); img.src = canvas.toDataURL(); document.body.appendChild(img); Probably some kind of alpha channel problem. Did this work before? Yes 60.0.3112.113 Does this work in other browsers? Yes Chrome version: 61.0.3163.79 Channel: n/a OS Version: Flash Version: Shockwave Flash 16.0 r0
,
Sep 6 2017
chfremer@: Can
,
Sep 6 2017
I tried to repro, but on my machine the result is slightly different. On builds before https://chromium.googlesource.com/chromium/src/+/1894d423068be735560e0171922c833c4091b5d1 I have the bright green image. Starting with that build, I get a still green but slightly darker background. Adding command-line flag --disable-features=ColorCorrectRendering restores the old behavior. With builds after https://chromium.googlesource.com/chromium/src/+/0990d74ec6508fa3f8e7ab7047f75d95948db683 in order to get the old behavior I would need to do --disable-features=ColorCorrectRendering,video-color-management. I was not able to get the gray background. Do the flags I mentioned above make any difference on your machine?
,
Sep 6 2017
will give it a try tomorrow. Could not repro on Windows so might be linux specific (ubuntu 16.04)
,
Sep 6 2017
--disable-features=ColorCorrectRendering,video-color-management gives the bright green variant. I *think* i've seen the dark green one before but could not reproduce it.
,
Sep 7 2017
,
Sep 7 2017
,
Oct 6 2017
,
Oct 6 2017
+ emircan@ for input on whether or not this could be related to some alpha channel rendering work. I am unable to reproduce the grey background.
,
Oct 6 2017
still getting grey on 61.0.3163.100, 62.0.3202.9 shows the nice color in the newly attached picture.
,
Oct 25 2017
|
|||||||||||||||||||||
►
Sign in to add a comment |
|||||||||||||||||||||
Comment 1 by philipp....@googlemail.com
, Sep 6 201712.6 KB
12.6 KB View Download