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
desktopCapturer not capturing audio when USB speakers are Windows output #15829
Expected Behavior
When using desktopCapturer, audio source should be captured then stream is handled; app creates an AudioContext that is then analyzed and an audio visualizer is created.
Actual behavior
This works if the default windows audio source is speakers plugged into 3.5 jack. When using USB speakers it throws the error
Uncaught (in promise) DOMException: Count not start audio source
Additional Information
My assumption is this may be a limitation in the way desktopCapturer captures audio, but based on the MediaDevices.getUserMedia() this should be possible. It seems having the available to select the audio source could also fix this issue
Reacted by Amar Bouchibane, kresic-ivan-nsoft, footniko and Abed Abu-Hijleh
👋 Thanks for opening your first issue here! If you're reporting a 🐞 bug, please make sure you include steps to reproduce it. We get a lot of issues on this repo, so please be patient and we will get back to you as soon as we can.
To help make it easier for us to investigate your issue, please follow the contributing guidelines.
Thank you for taking the time to report this issue and helping to make Electron better.
The version of Electron you reported this on has been superseded by newer releases.
If you're still experiencing this issue in Electron v4.2.x or later, please add a comment specifying the version you're testing with and any other new information that a maintainer trying to reproduce the issue should know.
I'm setting the blocked/need-info label for the above reasons. This issue will be closed 7 days from now if there is no response.
We haven't gotten a response to our questions in our comment above. With only the information that is currently in the issue, we don't have enough information to take action. I'm going to close this but don't hesitate to reach out if you have or find the answers we need, we'll be happy to reopen the issue.
Activity
welcome commentedon Nov 25, 2018
👋 Thanks for opening your first issue here! If you're reporting a 🐞 bug, please make sure you include steps to reproduce it. We get a lot of issues on this repo, so please be patient and we will get back to you as soon as we can.
To help make it easier for us to investigate your issue, please follow the contributing guidelines.
islalobo commentedon May 2, 2019
What's the status on this issue. We are also having trouble capturing user input audio.
CapOM commentedon Jun 21, 2019
Is it https://bugs.chromium.org/p/chromium/issues/detail?id=781557 ? Otherwise you can search if your issue has been reported here already https://bugs.chromium.org/p/chromium/issues/list?can=2&q=component%3ABlink%3EGetUserMedia+OS%3DWindows
sofianguy commentedon Aug 9, 2019
Thank you for taking the time to report this issue and helping to make Electron better.
The version of Electron you reported this on has been superseded by newer releases.
If you're still experiencing this issue in Electron v4.2.x or later, please add a comment specifying the version you're testing with and any other new information that a maintainer trying to reproduce the issue should know.
I'm setting the
blocked/need-infolabel for the above reasons. This issue will be closed 7 days from now if there is no response.Thanks in advance! Your help is appreciated.
sofianguy commentedon Aug 19, 2019
Thank you for your issue!
We haven't gotten a response to our questions in our comment above. With only the information that is currently in the issue, we don't have enough information to take action. I'm going to close this but don't hesitate to reach out if you have or find the answers we need, we'll be happy to reopen the issue.