Add opt-in outbound client mode for obs-websocket#1325
Draft
rowdytomato wants to merge 1 commit intoobsproject:masterfrom
Draft
Add opt-in outbound client mode for obs-websocket#1325rowdytomato wants to merge 1 commit intoobsproject:masterfrom
rowdytomato wants to merge 1 commit intoobsproject:masterfrom
Conversation
Implements opt-in outbound websocket client mode while preserving the existing protocol semantics. OBS sends Hello, controllers Identify, and the normal request/event flow remains unchanged. Includes shared protocol refactor, settings/config UX updates, TLS build toggle support, reconnect/backoff/heartbeat handling, and documentation/string updates for client mode.
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.
Description
Implements opt-in outbound websocket client mode while preserving existing protocol semantics:
HelloIdentifyClient mode is opt-in and default-off.
This PR adds:
Motivation and Context
Today, obs-websocket is primarily used with inbound connections to OBS.
Some deployments cannot expose inbound ports (NAT/firewall/restricted environments).
Outbound client mode enables those users to connect safely to a remote controller while keeping the existing protocol model and compatibility expectations.
How Has This Been Tested?
Validation covered inbound-server regression and outbound-client mode on Linux and Windows with TLS enabled and disabled.
GetVersion)Hello -> Identify -> IdentifiedhandshakeTested OS(s):
Known Follow-up (Not in This PR)
Official release packaging for TLS-enabled client-mode artifacts may still require a companion obs-studio change (submodule bump and relevant preset/CI enablement).
Types of changes
Checklist:
masteror arelease/*branch.