Can not share chrome's screen in some windows OS

NEW
Unassigned

Status

()

P4
normal
Rank:
35
a year ago
3 months ago

People

(Reporter: xpeng, Unassigned)

Tracking

(Blocks: 1 bug)

55 Branch
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

a year ago
User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:55.0) Gecko/20100101 Firefox/55.0
Build ID: 20170824053622

Steps to reproduce:

1. open chrome browser 
2. use the demo  :https://www.webrtc-experiment.com/getScreenId/  to click the button "capture your own screen".
3. select the chrome window to share



Actual results:

the chrome 's previewing window is black , and the sharing result is black too.
we can reproduce the issue in some PC (some windows 10 but some windows 10 not)


Expected results:

share chrome's window normally .
Component: Untriaged → WebRTC
Product: Firefox → Core
Confirmed with the link supplied and https://mozilla.github.io/webrtc-landing/gum_test.html using Windows 8.1 in a VM. Works as expected in Ubuntu 17.04 and OS X.
Status: UNCONFIRMED → NEW
Rank: 17
Component: WebRTC → WebRTC: Audio/Video
Ever confirmed: true
Priority: -- → P1
Windows 10 (and windows 8 IIRC) have drawing modes for windows that make the "normal" content-scraping that window capture fail.  I think full screen capture should work in this case.  We try to remove windows that aren't capturable, but this may not be something we can determine for Chrome; I'm not sure.

Microsoft is working on a capture API that will solve this problem IIRC (Edge has the same issue capturing some windows I believe)
Mass change P1->P2 to align with new Mozilla triage process
Priority: P1 → P2
(In reply to Randell Jesup [:jesup] from comment #2)
> Windows 10 (and windows 8 IIRC) have drawing modes for windows that make the
> "normal" content-scraping that window capture fail.  I think full screen
> capture should work in this case.  We try to remove windows that aren't
> capturable, but this may not be something we can determine for Chrome; I'm
> not sure.
> 
> Microsoft is working on a capture API that will solve this problem IIRC
> (Edge has the same issue capturing some windows I believe)

Yes, I tested full screen capture and it worked properly.

I'm dropping the priority as this doesn't seem like something we'll be able to fix
in the short term.
Rank: 17 → 27
Priority: P2 → P3
I built chromium from a fresh checkout on my windows laptop. It turns out that chromium is also unable to share chrome windows, and firefox is able to share chromium windows, so it seems like this is a limitation of the webrtc.org desktop capture code, rather than firefox.

Since this is essentially an upstream bug and screen sharing is available as a workaround, I don't think this is a high priority to fix.
Blocks: 923225
Rank: 27 → 35
Priority: P3 → P4
I should have mentioned that I verified that chromium is using the webrtc.org desktop capture code.

Updated

3 months ago
Duplicate of this bug: 1318702
see also https://bugs.chromium.org/p/chromium/issues/detail?id=883248 which explains this behaviour to some extent.
You need to log in before you can comment on or make changes to this bug.