New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 756450 link

Starred by 12 users

Issue metadata

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



Sign in to add a comment

Sharing multiple monitors results in unexpected stream

Reported by boarding...@gmail.com, Aug 17 2017

Issue description

Chrome Version       : "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/59.0.3071.15 Safari/537.36"
URLs (if applicable) :
Other browsers tested:
  Add OK or FAIL, along with the version, after other browsers where you
have tested this issue:
     Safari: NA
    Firefox: NA
         IE: NA

What steps will reproduce the problem?
Running this snippet in the console

window.navigator.mediaDevices.getUserMedia({
  audio: false,
  video: {
    mandatory: {
      chromeMediaSource: 'screen',
      maxFrameRate: 3
    }
  }
}).then(stream => {
  videoEl = document.createElement('video');
  videoEl.style.cssText = 'position:absolute;z-index:1000;width:100%;top:0;left:0;background:black;';
  attachMediaStream(stream, videoEl);
  $('body').append(videoEl);
})

What is the expected result?
Would like to be able to get a stream of all screens (multiple monitors). 


What happens instead?
Seems to be rather unpredictable. On MacOS, it seems like you would expect at first glance, but the stream doesn't seem to update with the monitors. Also mouse position in the stream is way off, sometimes event in the "void" where there isn't even a monitor. On windows there results were completely unpredictable. I could never get it to grab more than 2 monitors and sometimes not even that depending on the monitor configuration in the settings. Even with 2 1080p monitors side by side, which was the best scenario, the left inch or two of the left monitor was cut off. I apologize if the screen shots are a bit confusing.


Please provide any additional information below. Attach a screenshot if
possible.

 
mac 4 monitos side by side.png
1.2 MB View Download
monitor above.png
375 KB View Download
monitor below.png
332 KB View Download

Comment 1 by ajha@chromium.org, Sep 8 2017

Components: UI>Shell>MultipleMonitor
Labels: Needs-Milestone
Cc: kkaluri@chromium.org
Components: Blink>Network>StreamsAPI
Labels: Needs-Feedback
Tested this issue on Mac 10.12.6 (Dual Monitor) and Windows 10 (Single Monitor)

Steps Followed:
1. Installed chrome #59.0.3071.15, #61.0.3163.100 on Mac 10.12.6, using chrome remote desktop given share to Windows 10 
2. On Windows 10 machines using the Chrome Remote Desktop access Mac machine.
3. Observed Mac dual monitors are displayed on the Windows machine.

Observations:
1. Even before pasting the code, observed the Mac screens are not displayed properly on windows 10
2. Observed the same behavior after pasting the code (from comment #0) on Mac machine chrome console

Attaching the screen-cast for reference taken on Windows machine.

Could you look into it and let us know any steps i have missed while reproducing the scenario.

756450.mp4
1.1 MB View Download

Comment 5 by ricea@chromium.org, Oct 10 2017

Components: -Blink>Network>StreamsAPI Blink>MediaStream
This is a big problem for us when using Chromium to do screen recording policies. Can anyone ping Jansson, possibly, or see if we could get this confirmed and investigated? We've got a lab of different configurations we can provide feedback for any assistance here.
Labels: OS-Mac
Status: Untriaged (was: Unconfirmed)
Mac triage: marking directly for Blink triage.
Cc: juberti@chromium.org
+cc juberti@ for webrtc
Is it possible to update if there are any immediate plans to address this?

Components: Blink>GetUserMedia>Desktop
guido, you might know more about the current state of this.
niklase@ should be able to provide an update
Can someone explain a bit clearer what this issue is about? Screensharing without an extension? Remote desktop? Can the problem be reproduced with a service like Hangouts or appear.in? 
It can be reproduced using chromium, but not chrome, as chrome's screen capture selector doesn't allow capturing "all screens" but this *is* possible in Chromium. Basically, if I want to capture the content of multiple monitors (screens) at once, this is possible, but very unpredictable and problematic, as described above.
It can also be reproduced using Chrome's remote desktop.
Components: Services>Chromoting
It would be extremely beneficial if this could be resolved.  Any potential for that in the short term?
Cc: braveyao@chromium.org
Components: -Services>Chromoting
Components: -UI>Shell>MultipleMonitor -Blink>MediaStream Services>Chromoting
Pending input from remoting team since this is the only Chrome feature affected by this.
Status: WontFix (was: Untriaged)
Better multi-monitor support for Chrome Remote Desktop is planned, and I don't think we're going to have time to fix this before that happens.

Sign in to add a comment