{"action":"created","issue":{"url":"https://api.github.com/repos/electron/electron/issues/12311","repository_url":"https://api.github.com/repos/electron/electron","labels_url":"https://api.github.com/repos/electron/electron/issues/12311/labels{/name}","comments_url":"https://api.github.com/repos/electron/electron/issues/12311/comments","events_url":"https://api.github.com/repos/electron/electron/issues/12311/events","html_url":"https://github.com/electron/electron/issues/12311","id":305717720,"number":12311,"title":"Web Audio Bug With Removing 'Default' Audio Output on Windows OS","user":{"login":"AGiantSquid","id":26531374,"avatar_url":"https://avatars2.githubusercontent.com/u/26531374?v=4","gravatar_id":"","url":"https://api.github.com/users/AGiantSquid","html_url":"https://github.com/AGiantSquid","followers_url":"https://api.github.com/users/AGiantSquid/followers","following_url":"https://api.github.com/users/AGiantSquid/following{/other_user}","gists_url":"https://api.github.com/users/AGiantSquid/gists{/gist_id}","starred_url":"https://api.github.com/users/AGiantSquid/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AGiantSquid/subscriptions","organizations_url":"https://api.github.com/users/AGiantSquid/orgs","repos_url":"https://api.github.com/users/AGiantSquid/repos","events_url":"https://api.github.com/users/AGiantSquid/events{/privacy}","received_events_url":"https://api.github.com/users/AGiantSquid/received_events","type":"User","site_admin":false},"labels":[{"id":520323169,"url":"https://api.github.com/repos/electron/electron/labels/bug%20:beetle:","name":"bug :beetle:","color":"7be1e5","default":false},{"id":97403549,"url":"https://api.github.com/repos/electron/electron/labels/platform/windows","name":"platform/windows","color":"c7def8","default":false},{"id":612349168,"url":"https://api.github.com/repos/electron/electron/labels/version/1.7.x","name":"version/1.7.x","color":"bfdadc","default":false},{"id":839475038,"url":"https://api.github.com/repos/electron/electron/labels/version/2.0.x","name":"version/2.0.x","color":"bfdadc","default":false}],"state":"open","locked":false,"assignee":{"login":"nornagon","id":172800,"avatar_url":"https://avatars2.githubusercontent.com/u/172800?v=4","gravatar_id":"","url":"https://api.github.com/users/nornagon","html_url":"https://github.com/nornagon","followers_url":"https://api.github.com/users/nornagon/followers","following_url":"https://api.github.com/users/nornagon/following{/other_user}","gists_url":"https://api.github.com/users/nornagon/gists{/gist_id}","starred_url":"https://api.github.com/users/nornagon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nornagon/subscriptions","organizations_url":"https://api.github.com/users/nornagon/orgs","repos_url":"https://api.github.com/users/nornagon/repos","events_url":"https://api.github.com/users/nornagon/events{/privacy}","received_events_url":"https://api.github.com/users/nornagon/received_events","type":"User","site_admin":false},"assignees":[{"login":"nornagon","id":172800,"avatar_url":"https://avatars2.githubusercontent.com/u/172800?v=4","gravatar_id":"","url":"https://api.github.com/users/nornagon","html_url":"https://github.com/nornagon","followers_url":"https://api.github.com/users/nornagon/followers","following_url":"https://api.github.com/users/nornagon/following{/other_user}","gists_url":"https://api.github.com/users/nornagon/gists{/gist_id}","starred_url":"https://api.github.com/users/nornagon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nornagon/subscriptions","organizations_url":"https://api.github.com/users/nornagon/orgs","repos_url":"https://api.github.com/users/nornagon/repos","events_url":"https://api.github.com/users/nornagon/events{/privacy}","received_events_url":"https://api.github.com/users/nornagon/received_events","type":"User","site_admin":false}],"milestone":null,"comments":1,"created_at":"2018-03-15T21:00:26Z","updated_at":"2018-04-03T00:01:55Z","closed_at":null,"author_association":"NONE","body":"* Electron version: 1.7.8 - 2.0.0 beta 4\r\n* Operating system: Windows 10\r\n\r\n### Expected behavior\r\n\r\nWhen the 'default output' for the OS is removed, electron should fall back to some other device, and the audio stream for the input device should not be corrupted.\r\n\r\n### Actual behavior\r\n\r\nRemoving the 'default' output device corrupts the audio of the app.\r\n\r\n### How to reproduce\r\n\r\n```bash\r\ngit clone https://github.com/AGiantSquid/electron-quick-start.git\r\ncd electron-quick-start/\r\nyarn / npm install\r\nyarn start / npm start\r\n```\r\n\r\nStart with a computer with Windows installed. The bug will be easiest to see with at least 2 devices attached. In your Windows settings, check which audio device is set to 'default' for output. Your default for input does not matter.\r\n\r\nStart up electron like normal. When you talk into your mic, you should see the number 0 on the screen become some higher number corresponding to how loud you are talking. You should also hear yourself from the 'default' audio device. \r\n\r\nNow, remove the device that is set to 'default' for output on your os. You will see that the number reflecting your volume freezes and the audio stops. It becomes impossible to recover the audio connection for the duration of the session.\r\n\r\nThis is not normal. If you open index.html in Chrome, you will see that it will fall back to another device and your stream will continue, uninterrupted."},"comment":{"url":"https://api.github.com/repos/electron/electron/issues/comments/378085521","html_url":"https://github.com/electron/electron/issues/12311#issuecomment-378085521","issue_url":"https://api.github.com/repos/electron/electron/issues/12311","id":378085521,"user":{"login":"ckerr","id":70381,"avatar_url":"https://avatars3.githubusercontent.com/u/70381?v=4","gravatar_id":"","url":"https://api.github.com/users/ckerr","html_url":"https://github.com/ckerr","followers_url":"https://api.github.com/users/ckerr/followers","following_url":"https://api.github.com/users/ckerr/following{/other_user}","gists_url":"https://api.github.com/users/ckerr/gists{/gist_id}","starred_url":"https://api.github.com/users/ckerr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ckerr/subscriptions","organizations_url":"https://api.github.com/users/ckerr/orgs","repos_url":"https://api.github.com/users/ckerr/repos","events_url":"https://api.github.com/users/ckerr/events{/privacy}","received_events_url":"https://api.github.com/users/ckerr/received_events","type":"User","site_admin":true},"created_at":"2018-04-03T00:01:55Z","updated_at":"2018-04-03T00:01:55Z","author_association":"CONTRIBUTOR","body":"Bah. I was cleaning my copy/paste buffer when it went off."}}
{"actor":{"display_login":"ckerr"}}