Base: [BREAKING] Update default WebSocket port to 4455

Our original strategy of relying on clients to simply detect the
protocol version and use the correct one was optimistic at best,
and it has been realized during the transition process from 4.x to 5.x
that sharing 4444 is not practical. As such, we'll be using 4455 in
the future for 5.x.

If you are a client developer, we suggest continuing to maintain
appropriate protocol version detection and support, as the WebSocket
port is at the end of the day simply a suggestion.
This commit is contained in:
tt2468 2022-01-28 15:38:08 -08:00
parent 3e2984fd7a
commit 14227237d7
3 changed files with 5 additions and 5 deletions

View File

@ -27,7 +27,7 @@ It is **highly recommended** to protect obs-websocket with a password against un
- Automate scene switching with a third-party program (e.g. : auto-pilot, foot pedal, ...)
### Client software
- (No known clients supporting 5.0.0 at the moment. Send a message in Discord if you have one!)
- (No known clients supporting 5.0.0 at the moment. Ping us in the Discord if you have one!)
### Client libraries (for developers)
@ -35,10 +35,10 @@ Here's a list of available language APIs for obs-websocket:
- Python 3.7+ (Asyncio): [simpleobsws](https://github.com/IRLToolkit/simpleobsws/tree/master) by IRLToolkit
- Rust: [obws](https://github.com/dnaka91/obws/tree/v5-api) by dnaka91
The server is a typical Websockets server running by default on port 4444 (the port number can be changed in the Settings dialog under `Tools`).
The 5.x server is a typical WebSocket server running by default on port 4455 (the port number can be changed in the Settings dialog under `Tools`).
The protocol we use is documented in [PROTOCOL.md](docs/generated/protocol.md).
We'd like to know what you're building with or for obs-websocket. If you do something in this fashion, feel free to drop a message in `#project-showoff` in the [discord server!](https://discord.gg/WBaSQ3A)
We'd like to know what you're building with obs-websocket! If you do something in this fashion, feel free to drop a message in `#project-showoff` in the [discord server!](https://discord.gg/WBaSQ3A)
## Contributors

View File

@ -41,7 +41,7 @@ Config::Config() :
PasswordOverridden(false),
FirstLoad(true),
ServerEnabled(true),
ServerPort(4444),
ServerPort(4455),
DebugEnabled(false),
AlertsEnabled(false),
AuthRequired(true),

View File

@ -151,7 +151,7 @@
<number>65534</number>
</property>
<property name="value">
<number>4444</number>
<number>4455</number>
</property>
</widget>
</item>