New issue
Advanced search Search tips

Issue 832668 link

Starred by 1 user

Issue metadata

Status: WontFix
Owner:
Closed: Dec 17
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Windows
Pri: 2
Type: Bug


Show other hotlists

Hotlists containing this issue:
media-router-follow-up


Sign in to add a comment

Unable to capture Chrome window/tab without enabling H.W. acceleration

Reported by choo.av...@gmail.com, Apr 13 2018

Issue description

UserAgent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/64.0.3282.119 Safari/537.36

Steps to reproduce the problem:
1. Enable Desktop sharing extension
2. Try sharing a Chrome window/tab
3. Capture Chrome window/tab stream with chrome.desktopCapture.chooseDesktopMedia(['window'])
4. Assigned captured stream to HTML5 video element srcObject
5. Verify video element's videoWidth and videoHeight properties are updated

What is the expected behavior?
After assigning captured stream to HTML5 video element srcObject, the videoWidth and videoHeight properties should be updated, i.e. > 0.

What went wrong?
No able to share Chrome window because after assigning the captured Chrome window/tab stream to a HTML5 video element srcObject, the videoWidth and videoHeight properties were not updated, i.e. stays as 0.

Did this work before? N/A 

Does this work in other browsers? Yes

Chrome version: 64.0.3282.119  Channel: stable
OS Version: 10.0
Flash Version: 

If Chrome H.W. acceleration option is enabled, the Chrome window/tab is captured fine. Problem also occur in latest 65.0.3325.181
 
Other windows applications shared fine with the H.W. acceleration disabled, i.e. only Chrome window sharing has problem.
H.W. acceleration setting => Use hardware acceleration when available 
Labels: Needs-Milestone

Comment 4 by guidou@chromium.org, Apr 16 2018

Components: -Blink>GetUserMedia Blink>GetUserMedia>Tab

Comment 5 by amp@chromium.org, Apr 17 2018

Owner: m...@chromium.org
Status: Assigned (was: Unconfirmed)
Yuri is this a potential VIZ issue.
Is there any targeted release for this fix?
Status: WontFix (was: Assigned)
I just ran the current Chrome stable release (M71) with the --disable-gpu command line arg (to disable hardware acceleration). I was able to capture both tabs and the browser window just fine. I used the following demo extensions:

Tab Capture: https://developer.chrome.com/extensions/examples/api/tabCapture.zip

Desktop/Window Capture: https://developer.chrome.com/extensions/examples/api/desktopCapture.zip


Sign in to add a comment