Skip to content

libobs: frontend: Update monitoring to bool and add hotkey#13599

Open
Warchamp7 wants to merge 3 commits into
obsproject:masterfrom
Warchamp7:update-monitoring
Open

libobs: frontend: Update monitoring to bool and add hotkey#13599
Warchamp7 wants to merge 3 commits into
obsproject:masterfrom
Warchamp7:update-monitoring

Conversation

@Warchamp7

Copy link
Copy Markdown
Member

Description

Deprecates obs_monitoring_type in favor of an on/off boolean toggle. Adds source hotkeys for toggling monitoring on/off on a source.

Motivation and Context

#12735 and #13378 introduced easier access to monitoring in the UI, and made it so that monitoring is independent of mute state. This makes the MONITOR_ONLY state effectively obsolete, so this PR removes the enum in favor of an on/off state that represents the new behaviour.

How Has This Been Tested?

Tested that sources handled monitoring correctly, when set via the UI or via websockets using the now deprecated methods. Ensured that the new signal as well as the deprecated one were emitted and handled correctly.

Types of changes

  • Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

  • I have read the contributing document.
  • My code has been run through clang-format.
  • My code follows the project's style guidelines
  • My code is not on the master branch.
  • My code has been tested.
  • All commit messages are properly formatted and commits squashed where appropriate.
  • I have included updates to all appropriate documentation.

@Warchamp7 Warchamp7 added this to the OBS Studio 33.0 milestone Jun 26, 2026
@Warchamp7 Warchamp7 added the area/ui-ux Anything to do with changes or additions to UI/UX elements. label Jun 26, 2026
@Warchamp7 Warchamp7 force-pushed the update-monitoring branch from f8b6d86 to b32eaa6 Compare June 26, 2026 21:46
@Warchamp7 Warchamp7 force-pushed the update-monitoring branch from b32eaa6 to 80761f3 Compare June 26, 2026 22:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/ui-ux Anything to do with changes or additions to UI/UX elements.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant