Fix browser source audio control for individual stream management #11

Merged
deco merged 3 commits from browser-audio-control-fix into main 2025-07-23 01:09:26 +03:00
Owner

Summary

  • Fixed browser source audio control to enable individual stream mute/unmute management
  • Removed redundant separate audio capture sources that were cluttering OBS
  • Browser sources now properly route audio through OBS using reroute_audio: true

Changes Made

  • Enable "Control audio via OBS" checkbox on browser sources
  • Set reroute_audio: true to properly route browser audio through OBS
  • Remove creation of separate _audio capture sources (no longer needed)
  • Preserve URL settings in all SetInputSettings calls to prevent URL clearing
  • Browser sources are muted by default but can be individually controlled in OBS

Test Plan

  • Create new stream - browser source has "Control audio via OBS" enabled
  • Browser source displays correct Twitch URL
  • Audio is muted by default
  • Can unmute individual streams in OBS mixer for selective audio control
  • No redundant audio capture sources created

Benefits

  • Clean audio management without duplicate sources cluttering OBS
  • Individual stream audio control without touching Twitch directly
  • Simplified setup - one browser source per stream handles both video and audio

🤖 Generated with Claude Code

## Summary - Fixed browser source audio control to enable individual stream mute/unmute management - Removed redundant separate audio capture sources that were cluttering OBS - Browser sources now properly route audio through OBS using reroute_audio: true ## Changes Made - Enable "Control audio via OBS" checkbox on browser sources - Set reroute_audio: true to properly route browser audio through OBS - Remove creation of separate _audio capture sources (no longer needed) - Preserve URL settings in all SetInputSettings calls to prevent URL clearing - Browser sources are muted by default but can be individually controlled in OBS ## Test Plan - [x] Create new stream - browser source has "Control audio via OBS" enabled - [x] Browser source displays correct Twitch URL - [x] Audio is muted by default - [x] Can unmute individual streams in OBS mixer for selective audio control - [x] No redundant audio capture sources created ## Benefits - Clean audio management without duplicate sources cluttering OBS - Individual stream audio control without touching Twitch directly - Simplified setup - one browser source per stream handles both video and audio 🤖 Generated with [Claude Code](https://claude.ai/code)
deco added 3 commits 2025-07-23 01:04:31 +03:00
- Restructure connection status layout for better hierarchy
- Move status dot to be inline with Connected/Disconnected text
- Use proper flex alignment (items-center) for dot and text
- Separate title from status indicator for cleaner UI
- Maintain consistent spacing with gap-2
- Add stream scene detection based on naming pattern: {team}_{stream}_stream
- Query database for both teams and streams with proper joins
- Generate expected stream scene names using cleanObsName logic
- Filter orphaned scenes to exclude team scenes, stream scenes, and system scenes
- Add expected_stream_scenes to response for debugging visibility
- Improve orphaned detection accuracy for nested OBS scene structure
Fix browser source audio control for individual stream management
All checks were successful
Lint and Build / build (pull_request) Successful in 2m50s
a89493b89f
- Enable "Control audio via OBS" checkbox on browser sources using reroute_audio: true
- Remove redundant separate audio capture sources (_audio suffixed sources)
- Browser sources now properly route audio through OBS for individual mute/unmute control
- Preserve URL settings in all SetInputSettings calls to prevent URL clearing
- Simplify audio management - no more duplicate audio sources cluttering OBS

This allows users to mute/unmute individual Twitch streams directly in OBS without
having to manually mute each stream in the browser or deal with separate audio sources.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
deco merged commit 6fadccef51 into main 2025-07-23 01:09:26 +03:00
deco deleted branch browser-audio-control-fix 2025-07-23 01:09:26 +03:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: deco/obs-ss-plugin-webui#11
No description provided.