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]: desktopCature with microphone doesn't work, documentation shows no examples of capturing with audio #41024
And it's expected that the documentation shows examples capturing microphone and desktop audio, however the current documentation forces audio: false in every single example.
Actual Behavior
Fails to capture microphone
[71316:0116/190804.984:ERROR:wgc_capturer_win.cc(255)] Source is not capturable.
Hello @brunolm. 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.
Now adding the
blocked/need-reproNeeds a test case to reproduce the bug
label for this reason. After you make a test case, please link to it in a followup comment. This issue will be closed in 10 days if the above is not addressed.
Also replicating this issue - this is also impacting pulling audio from a window or desktop. If I request just video works fine but soon as I set audio to anything but false "Source is not capturable".
Activity
electron-issue-triage commentedon Jan 17, 2024
Hello @brunolm. 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.
Now adding the blocked/need-reproNeeds a test case to reproduce the bug
label for this reason. After you make a test case, please link to it in a followup comment. This issue will be closed in 10 days if the above is not addressed.
codebytere commentedon Feb 6, 2024
Running:
in the renderer process seems to DCHECK 🤔
Stacktrace
scotlandisme commentedon Feb 13, 2024
Also replicating this issue - this is also impacting pulling audio from a window or desktop. If I request just video works fine but soon as I set audio to anything but false "Source is not capturable".
codebytere commentedon Feb 13, 2024
@scotlandisme would you be able to provide a repro so i can test with your configuration?
codebytere commentedon Feb 19, 2024
Closing this as Chrome seems to have forced this with internal deprecation breakages. You should instead be using the supported API.
For example:
crashes a Chrome tab intentionally.