Hi,
(I am posting this under "Development" as it seems to be a more technical question that might best answered by someone close to OBS development. Feel free to move this request if this is not appropriate.)
We are using OBS Studio 27.1.3 on Windows 10 for a video conferencing setup, i.e. we stream OBS audio and video into zoom, and are generally quite happy with it. Unfortunately, once in a while OBS changes our audio source back to "Default", and with that also audio monitoring settings. This causes the entire audio signal to get lost - which is not a good thing a few minutes before a presentation starts.
To make this more "fun": the problem is hard to reproduce, so I have to work without a test case for now.
The audio device in question here is a Dante AVIO USB adapter which receives audio via TCP/IP and presents it to the Windows system as USB audio device.
For some reason, OBS seems to not to always "find" that device (might be the device's fault?) and then it switches the Audio Input Capture source (wasapi_input_capture) to "Default". And once it does that, also the Audio Monitoring settings for that source are switched from "Monitor Only" to "Monitor Off". And those changes seem to be sticky, i.e. when using the system in the next day, audio is still set to "default" even if the Dante USB device is working perfectly fine (in such a case: if we manually adjust the OBS config in the source, in the Advanced Audio settings and in the Preferences, everything works perfectly again, without having to restart OBS, Windows or any device - so it looks like only the OBS settings are faulty).
In order to debug this, I would like to better understand what OBS is doing with its devices when starting up and which files are used to store those settings.
Since the system is accessed through a shared Windows user, we might just replace those config files upon each login if necessary.
So far, I found these files to carry some of the audio config:
(I am posting this under "Development" as it seems to be a more technical question that might best answered by someone close to OBS development. Feel free to move this request if this is not appropriate.)
We are using OBS Studio 27.1.3 on Windows 10 for a video conferencing setup, i.e. we stream OBS audio and video into zoom, and are generally quite happy with it. Unfortunately, once in a while OBS changes our audio source back to "Default", and with that also audio monitoring settings. This causes the entire audio signal to get lost - which is not a good thing a few minutes before a presentation starts.
To make this more "fun": the problem is hard to reproduce, so I have to work without a test case for now.
The audio device in question here is a Dante AVIO USB adapter which receives audio via TCP/IP and presents it to the Windows system as USB audio device.
For some reason, OBS seems to not to always "find" that device (might be the device's fault?) and then it switches the Audio Input Capture source (wasapi_input_capture) to "Default". And once it does that, also the Audio Monitoring settings for that source are switched from "Monitor Only" to "Monitor Off". And those changes seem to be sticky, i.e. when using the system in the next day, audio is still set to "default" even if the Dante USB device is working perfectly fine (in such a case: if we manually adjust the OBS config in the source, in the Advanced Audio settings and in the Preferences, everything works perfectly again, without having to restart OBS, Windows or any device - so it looks like only the OBS settings are faulty).
In order to debug this, I would like to better understand what OBS is doing with its devices when starting up and which files are used to store those settings.
- Where does OBS learn which devices to use for which source?
- How does OBS try to detect/find a device?
- What causes OBS to not "find" a device and then switch to "default"?
- What does the log entry:
[WASAPISource::WASAPISource] Device '{0.0.0.00000000}.{86154005-5f10-4c00-925c-098dc8b4b7d6}' not found. Waiting for device
mean, and how can I find out which device this is?
Since the system is accessed through a shared Windows user, we might just replace those config files upon each login if necessary.
So far, I found these files to carry some of the audio config:
- C:\Users\username\AppData\Roaming\obs-studio\global.ini
- C:\Users\username\AppData\Roaming\obs-studio\basic\profiles\Untitled\basic.ini
- C:\Users\username\AppData\Roaming\obs-studio\basic\scenes\Main_Collection.json