You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Bug]: Black Video When getUserMedia with chromeMediaSourceId === window.getMediaSourceId() #29458
Thanks for reporting this and helping to make Electron better!
Would it be possible for you to make a standalone testcase with only the code necessary to reproduce the issue? For example, Electron Fiddle is a great tool for making small test cases and makes it easy to publish your test case to a gist that Electron maintainers can use.
Stand-alone test cases make fixing issues go more smoothly: it ensure everyone's looking at the same issue, it removes all unnecessary variables from the equation, and it can also provide the basis for automated regression tests.
I'm adding the blocked/need-repro label for this reason. After you make a test case, please link to it in a followup comment.
Activity
nornagon commentedon Jun 23, 2021
Thanks for reporting this and helping to make Electron better!
Would it be possible for you to make a standalone testcase with only the code necessary to reproduce the issue? For example, Electron Fiddle is a great tool for making small test cases and makes it easy to publish your test case to a gist that Electron maintainers can use.
Stand-alone test cases make fixing issues go more smoothly: it ensure everyone's looking at the same issue, it removes all unnecessary variables from the equation, and it can also provide the basis for automated regression tests.
I'm adding the
blocked/need-reprolabel for this reason. After you make a test case, please link to it in a followup comment.Thanks in advance! Your help is appreciated.
phanmn commentedon Jun 24, 2021
Hi @nornagon , here is a gist for Electron Fiddle for testing
https://gist.github.com/6a812cbcb20afab1ea4f72cb53f62cb9
nornagon commentedon Jul 9, 2021
Thanks. Here's a simplified version that doesn't use
remoteor the third-party moduleelectron-context-menu: https://gist.github.com/925744c7c67347d67c5b29e91c31e37eBisected to v13.0.0-beta.20...v13.0.0-beta.21. The Chromium roll in that range seems like the likely culprit: #28660.
nornagon commentedon Jul 9, 2021
Adding
app.commandLine.appendSwitch('disable-features', 'WindowCaptureMacV2')works around this issue for now.VerteDinde commentedon Aug 10, 2021
Looks like this has already been addressed upstream in Chrome here: https://source.chromium.org/chromium/chromium/src/+/5bc57681793ef5008225cf26900492f62f640dd0 Will see if we can cherry-pick this change into earlier versions.