Fix InputVolumeMeters event streaming and optimize v5.x event subscription#1
Draft
Copilot wants to merge 6 commits intorefactor/update-obs-websocket-v5-implementationfrom
Draft
Conversation
- Add StreamSubscription management to DashboardStore - Cancel previous subscription before creating new listener - Prevent multiple listeners on reconnect causing event loss - Clean up subscription in stopTimers method Co-authored-by: BarbellDwarf <78000963+BarbellDwarf@users.noreply.github.com>
- Change eventSubscriptions from 131071 to 67583 - Remove undefined intermediate bits (11-15) - Use cleaner value: 2047 (standard) + 65536 (InputVolumeMeters) - Add comprehensive inline documentation explaining bitmask - Document high-volume event requirements Co-authored-by: BarbellDwarf <78000963+BarbellDwarf@users.noreply.github.com>
- Remove unused SwitchScenes event type (legacy v4.x) - Add warning comment on ScenesChanged for verification - Document that v5.x should use SceneCreated/SceneRemoved instead - Clean up event type enum Co-authored-by: BarbellDwarf <78000963+BarbellDwarf@users.noreply.github.com>
- Add troubleshooting section to README with common issues - Document OBS version compatibility matrix - Add v5.x protocol overview to NetworkHelper - Document key protocol features and changes from v4.x - Include links to official protocol documentation Co-authored-by: BarbellDwarf <78000963+BarbellDwarf@users.noreply.github.com>
- Clarify bitmask documentation with bit positions (2^n format) - Make it clear bits sum to values, not equal them directly - Add TODO tag to ScenesChanged event for tracking - Improve specificity of verification needed comment Co-authored-by: BarbellDwarf <78000963+BarbellDwarf@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Complete all tasks in markdown files
Fix InputVolumeMeters event streaming and optimize v5.x event subscription
Jan 13, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Audio level meters loaded initially but stopped updating. Event subscription included undefined bits. Legacy v4.x event types remained in codebase.
Changes
Critical: Fix audio level streaming
StreamSubscriptionlifecycle inDashboardStore- cancel previous before creating newstopTimers()Optimize event subscription bitmask
131071→67583(2047 standard + 65536 InputVolumeMeters)2^0 through 2^10 = 2047,2^16 = 65536Remove legacy v4.x code
SwitchScenesevent typeScenesChangedverificationDocumentation
NetworkHelperwith links to official specExample
Event data access patterns verified correct -
BaseEventextractseventData,BaseResponseextractsresponseData. All request parameters confirmed v5.x compliant.Original prompt
💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.