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 turn on the broadcast, while the sound is output in the speakers (the default device), they are selected as the sound source and everything is fine. Now I connect bluetooth headphones, windows changes the default device to them and the sound starts to be output in them, while the default device is selected in obs, but obs loses sound. Moreover, if you go into the properties of the playback device, the default device is selected there and if you just click ok, then the sound starts to pick up correctly again.
Expected Behavior
Obs must correctly detect the default device change.
This is confirmed, and there is probably an argument for keeping it the same as it is now, as much as changing it. Changing the selected device while OBS is active (especially in automated scenarios like you mentioned) could be disruptive while streaming or recording is active. I'm not sure what the best way to handle it would be.
I think this is less about how to do it, and more about if we should do it. You're right it's not more disruptive than a user changing it manually, but Windows likes to automatically change the default devices all the time (like if you plug a USB device that has a microphone or desktop audio device as part if it, Windows will "helpfully" switch your default to that), which might result in confusion and frustration for users. I'm all in favor of allowing this option, but we need some kind of feedback for when it happens.
Would love to see this implemented. When starting SteamVR it will automatically switch the default recording device to the one of the HMD (And back when exiting it again). Having OBS pick up on that without manually needing to trigger it would be a great QOL improvement.
Also, just to document the discussion that happened in Discord regarding this issue, we agree that this should be changed. Current target is looking at this for v27, per the milestone.
This is confirmed, and there is probably an argument for keeping it the same as it is now, as much as changing it. Changing the selected device while OBS is active (especially in automated scenarios like you mentioned) could be disruptive while streaming or recording is active. I'm not sure what the best way to handle it would be.
I would disagree, if you change the default device with Windows 10, OBS should change with you. I've streamed so many times and OBS ignored my device change. The argument against it doesn't make much sense because they wouldn't choose DEFAULT device in the first place if they were worried about devices changing on them. Why not just fix it so it changes to the DEFAULT device in real time as expected.
I think this is less about how to do it, and more about if we should do it. You're right it's not more disruptive than a user changing it manually, but Windows likes to automatically change the default devices all the time (like if you plug a USB device that has a microphone or desktop audio device as part if it, Windows will "helpfully" switch your default to that), which might result in confusion and frustration for users. I'm all in favor of allowing this option, but we need some kind of feedback for when it happens.
Then they wouldn't set the audio device to DEFAULT, they would set it to the device they'd want to be the primary, and how rarely does someone plug in new audio devices during a stream, but they will change from speaker to headphones often while OBS has started.
We already implemented this on Windows, so we don't need any further incentive. Thank you for the comments though!
This issue is still open because it has not been implemented on Linux yet.
It's still happening in version 26.1.1 perhaps I'm not familiar with your release management, how do I get it with the fixed version... 27.0 isn't available, correct?
Correct, this will be in v27 as mentioned a few comments up, which hasn't been released yet. You can either build yourself against current master, or grab one of our nightly builds from CI. Keep in mind those builds will not be signed, so you might run in to issues with game capture being blocked (or overly aggressive antivirus blocking functionality).
As the original Mantis Issue was about WASAPI (Windows-only), and this Issue was a mirror to that Mantis Issue, and we have fixed the Windows case, we're going to close this as fixed. If there is a similar Linux issue with sound devices regarding changing default sound devices, please file a new Issue with detailed steps to reproduce.
Activity
Fenrirthviti commentedon Apr 26, 2020
This is confirmed, and there is probably an argument for keeping it the same as it is now, as much as changing it. Changing the selected device while OBS is active (especially in automated scenarios like you mentioned) could be disruptive while streaming or recording is active. I'm not sure what the best way to handle it would be.
xklonx commentedon Apr 26, 2020
This is an example of default device change handling https://stackoverflow.com/questions/6163119/handling-changed-audio-device-event-in-c-sharp i checked and it works. I think that this is not an option to force the user to manually change the device, since it even looks like an error, you didnt even change something, just hit save and it starts working. If the obs will change the device automatically, it will not be more disruptive than if the user does it manually.
Fenrirthviti commentedon Apr 26, 2020
I think this is less about how to do it, and more about if we should do it. You're right it's not more disruptive than a user changing it manually, but Windows likes to automatically change the default devices all the time (like if you plug a USB device that has a microphone or desktop audio device as part if it, Windows will "helpfully" switch your default to that), which might result in confusion and frustration for users. I'm all in favor of allowing this option, but we need some kind of feedback for when it happens.
mkrupczak3 commentedon Jul 24, 2020
mkrupczak3 commentedon Jul 24, 2020
Fenrirthviti commentedon Jul 24, 2020
mkrupczak3 commentedon Jul 24, 2020
kinsi55 commentedon Oct 27, 2020
Would love to see this implemented. When starting SteamVR it will automatically switch the default recording device to the one of the HMD (And back when exiting it again). Having OBS pick up on that without manually needing to trigger it would be a great QOL improvement.
Fenrirthviti commentedon Oct 27, 2020
Also, just to document the discussion that happened in Discord regarding this issue, we agree that this should be changed. Current target is looking at this for v27, per the milestone.
8 remaining items
Fenrirthviti commentedon Feb 6, 2021
The recent commits only affect Windows audio capture, not Linux. This will be available in the Windows release of v27.
mkrupczak3 commentedon Feb 7, 2021
Big oof
I reported the issue on Linux anyways, but I think that thread eventually got deleted...
jp9000 commentedon Feb 7, 2021
Oh woops. Well I'll reopen it for now.
paullyvenne commentedon Feb 27, 2021
I would disagree, if you change the default device with Windows 10, OBS should change with you. I've streamed so many times and OBS ignored my device change. The argument against it doesn't make much sense because they wouldn't choose DEFAULT device in the first place if they were worried about devices changing on them. Why not just fix it so it changes to the DEFAULT device in real time as expected.
paullyvenne commentedon Feb 27, 2021
Then they wouldn't set the audio device to DEFAULT, they would set it to the device they'd want to be the primary, and how rarely does someone plug in new audio devices during a stream, but they will change from speaker to headphones often while OBS has started.
Fenrirthviti commentedon Feb 27, 2021
We already implemented this on Windows, so we don't need any further incentive. Thank you for the comments though!
This issue is still open because it has not been implemented on Linux yet.
paullyvenne commentedon Feb 27, 2021
It's still happening in version 26.1.1 perhaps I'm not familiar with your release management, how do I get it with the fixed version... 27.0 isn't available, correct?
Fenrirthviti commentedon Feb 27, 2021
Correct, this will be in v27 as mentioned a few comments up, which hasn't been released yet. You can either build yourself against current master, or grab one of our nightly builds from CI. Keep in mind those builds will not be signed, so you might run in to issues with game capture being blocked (or overly aggressive antivirus blocking functionality).
m1neral-rocks commentedon Jun 20, 2022
Any updates/temporary solutions for this on Linux? I'm still experiencing it on both pulseaudio and pipewire
RytoEX commentedon Sep 22, 2022
As the original Mantis Issue was about WASAPI (Windows-only), and this Issue was a mirror to that Mantis Issue, and we have fixed the Windows case, we're going to close this as fixed. If there is a similar Linux issue with sound devices regarding changing default sound devices, please file a new Issue with detailed steps to reproduce.