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
I agree to follow the Code of Conduct that this project adheres to.
I have searched the issue tracker for a bug report that matches the one I want to file, without success.
Electron Version
22.0.0
What operating system are you using?
Windows
Operating System Version
Windows 10 10.0.19045 Build 19045
What arch are you using?
x64
Last Known Working Electron version
No response
Expected Behavior
When I start the Desktop Capturer to record display video and audio it should use the default output audio stream
Actual Behavior
When I have more than one connected output device (speakers and earphones) then I get a "DOMException: Could not start audio source".
Testcase Gist URL
No response
Additional Information
I use the exact method as shown on the docs page for DesktopCapturer const audioStream = await navigator.mediaDevices.getUserMedia({ audio: { mandatory: { chromeMediaSource: ‘desktop’ } }, video: { mandatory: { chromeMediaSource: ‘desktop’ } } } as any);
The as any is inserted to move around typescript errors
The text was updated successfully, but these errors were encountered:
Update on the issue, I tested with setting my audio output default to be the speakers and not my usb connected headset and it worked. This is still not ideal as the users of the app will have usb headsets
Preflight Checklist
Electron Version
22.0.0
What operating system are you using?
Windows
Operating System Version
Windows 10 10.0.19045 Build 19045
What arch are you using?
x64
Last Known Working Electron version
No response
Expected Behavior
When I start the Desktop Capturer to record display video and audio it should use the default output audio stream
Actual Behavior
When I have more than one connected output device (speakers and earphones) then I get a "DOMException: Could not start audio source".
Testcase Gist URL
No response
Additional Information
I use the exact method as shown on the docs page for DesktopCapturer
const audioStream = await navigator.mediaDevices.getUserMedia({ audio: { mandatory: { chromeMediaSource: ‘desktop’ } }, video: { mandatory: { chromeMediaSource: ‘desktop’ } } } as any);
The as any is inserted to move around typescript errors
The text was updated successfully, but these errors were encountered: