Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Audio Monitor setting on sources needs to be reset whenever monitor device is changed #11868

Open
daw654 opened this issue Feb 16, 2025 · 2 comments

Comments

@daw654
Copy link

daw654 commented Feb 16, 2025

Operating System Info

Windows 11

Other OS

No response

OBS Studio Version

31.0.1

OBS Studio Version (Other)

No response

OBS Studio Log URL

https://obsproject.com/logs/I9lS7jEghDpWLDih

OBS Studio Crash Log URL

No response

Expected Behavior

When the audio monitoring device is changed after being removed (etc if a display was disconnected and reconnected) all sources set to monitor and output should still send audio to the monitored device.

Current Behavior

When the audio monitoring device is changed after being removed (etc if a display was disconnected and reconnected) all sources set to monitor do not send any sound to the monitor device. This can be fixed by selecting monitor off and then reselecting monitor and output on each source individually.

Steps to Reproduce

  1. Set up audio monitoring with a device and a source.
  2. Disconnect that device (remove HDMI) when obs is closed. (Note: The problem does not occur if the audio monitor has been replugged in before obs is started for the first time after a boot.)
  3. Reconnect the device and open obs.
  4. Attempt to monitor audio from a media source or audio input.

Anything else we should know?

This is a common issue among users that is still yet to be fixed.

https://obsproject.com/forum/threads/audio-monitoring-monitor-and-output-issues-audio-sometimes-fails-to-monitor-unless-reset-switching-to-monitor-off-then-back-to-monitor-and-output.127861/

@alinsavix
Copy link
Contributor

FWIW, here's a simple python script to reset the monitoring on all media sources: fixmonitor.txt

Rename to fixmonitor.py, make sure you have obsws-python installed, and run it. Scripting-wise it's pretty ugly, but should be functional (use at your own risk, of course). Assumes obs-websocket is running on port 4455 on the local host, without a password. On a non-windows system, remove the two lines mentioning msvcrt.

@daw654
Copy link
Author

daw654 commented Feb 21, 2025

FWIW, here's a simple python script to reset the monitoring on all media sources: fixmonitor.txt

Rename to fixmonitor.py, make sure you have obsws-python installed, and run it. Scripting-wise it's pretty ugly, but should be functional (use at your own risk, of course). Assumes obs-websocket is running on port 4455 on the local host, without a password. On a non-windows system, remove the two lines mentioning msvcrt.

Thank you this works well, I have also found that if you exit OBS without changing any settings then reconnect the monitor device and restart OBS the problem resolves, but it would still be nice if this didn't need to happen at all.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants