When switching audio monitor output device - monitor audio stops
Operating System Info
Windows 10
Other OS
No response
OBS Studio Version
26.1.1
OBS Studio Version (Other)
No response
OBS Studio Log URL
https://obsproject.com/logs/xCZi22mtkq1wYOpF
OBS Studio Crash Log URL
No response
Expected Behavior
Audio monitoring output continues on new device
Current Behavior
Audio monitoring output stops
Steps to Reproduce
- open Settings - Audio
- change Monitoring device
Anything else we should know?
After a restart of OBS it will work again
I can reproduce this issue by another steps:
- open settings of OBS, choose monitor device with "default";
- start monitoring a media source;
- open settings of Windows OS, switching default output device. Then audio monitor never work normally;
As commit in https://github.com/obsproject/obs-studio/commit/74e64481951e9247a7dec0af6d3660027dd57fb4#diff-93b96c16580b270f3d204c4e59c972a9c361a5cc7ba6f21c7cfa964c5ae894ea, maybe we should also detect event for output device and reinitialize monitor module to apply latest default device.
I was searching if there's an issue for my problem. This seems similar enogh, but please tell me if it needs a different one.
I've recently noticed that if I have monitoring enabled for an audio capture, and my audio device (wireless headphone) gets disconnected and then reconnected, OBS won't play the monitor of the audio capture to headphone until I open the "advanced audio properties" menu and switch off and on the monitoring on all of the monitored devices.
I also noticed that if for some reason I need to restart the Audiosrv system service of Windows, OBS won't recover the audio streams even after Audiosrv has restarted. In this case, I think only a reopen helps, but I think I had a solution without that, like the one for the previous problem.
I think these are suitable here because these seem to be related to the problems mentioned by others here: OBS (probably) not listening for audio device state changes.
can confirm this on macOS, repo steps: 0) have the audio monitoring working on one device/source
- switch the monitoring device in settings > audio
- observe how the audio isnt being sent to the monitor
- change advanced audio properties > monitoring to something other than what it is on then change it back
- it will start working
NOTE: if you change the device back to the original device in settings > audio then it will work without messing with advanced audio properties.