Skip to content

bug: obs-websocket: SetInputAudioMonitorType "Monitor Only" plays into the stream on 33.0 (follow-up of #2444) #2447

Closed

Description

@rdoupe

Follow-up of #2444 (fixed in #2445).

Bug

obs-websocket's SetInputAudioMonitorType with OBS_MONITORING_TYPE_MONITOR_ONLY still uses the deprecated mapping from the three-state monitoring setting to 33.0's on/off. So "Monitor Only" set through the API turns monitoring on without muting the source, and the source's audio goes into the stream and recordings. Remote tools and scripts that set Monitor Only to keep audio off-stream now leak it.

GetInputAudioMonitorType likewise can't report the difference.

Plan

  1. RED: a websocket test (see the existing test_ws_* tests). Set Monitor Only on an input that plays a tone, and check the tone stays out of the main output mix.
  2. GREEN: map Monitor Only to monitoring on plus muted, as libobs: Mute 32.x Monitor Only sources on load #2445 did for loading. Report Monitor Only back for a monitored and muted input, and Monitor and Output for monitored and unmuted. Keep the API compatible.

Activity

  1. added
    bug
    on Oct 26, 2026
  2. rdoupe commented on Oct 26, 2026

    @rdoupe
    CollaboratorAuthor

    Claiming: #2447.

  3. added
    ready
    on Oct 26, 2026
  4. zackees commented on Oct 26, 2026

    @zackees
    Member

    A note for the plan: AGENTS.md keeps plugins/obs-websocket unchanged (it stays as the compatibility check). So the GREEN fix has to go in libobs, in what obs_source_set_monitoring_type() / obs_source_get_monitoring_type() do with OBS_MONITORING_TYPE_MONITOR_ONLY, not in the websocket request handlers.

  5. moved this from In progress to Done in obs-rust Multiviewon Oct 26, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bugready

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions