Go to file
tt2468 fcbe11616d
docs: Overhaul documentation (#863)
More docs-related commits will follow, but this needs to be merged in order to continue with other development.

* Docs: Overhaul docs generator (beginning)

* docs: Rename comments file

* docs: Move comments gitignore

* docs: Initial request documentation

* docs: Improvements to comment processing

* docs: More improvements

* docs: Add enum functionality for protocol.json

* WebSocketServer: Document enums

* RequestHandler: Document RequestStatus enum

* Base: Move ObsWebSocketRequestBatchExecutionType to its own file

Moves it to its own file, renaming it to `RequestBatchExecutionType`.
Changes the RPC to use integer values for selecting execution type
instead of strings.

* docs: Update introduction header

Removes the enum section, and documents RequestBatchExecutionType.

* WebSocketCloseCode: Shuffle a bit

* Base: Use `field` instead of `key` or `parameter` in most places

* RequestStatus: Mild shuffle

It was really bothering me that OutputPaused and OutputNotPaused
had to be separated, so we're breaking it while we're breaking
other stuff.

* docs: Delete old files

They may be added back in some form, but for now I'm getting them
out of the way.

* docs: Add enum identifier value

Forgot to add this before, oops

* docs: Document more enums

* docs: Add basic protocol.md generator

* docs: More work on MD generator

* docs: MD generator should be finished now

* docs: More fixes

* docs: More fixes

* docs: More tweaks + add readme

* docs: Update readme and add inputs docs

* docs: More documentation
2021-12-10 21:38:18 -08:00
.github Base: General cleanup 2021-11-21 02:10:41 -08:00
CI docs: Overhaul documentation (#863) 2021-12-10 21:38:18 -08:00
cmake everything: Massive amount of changes who knows 2021-04-26 08:46:11 -07:00
data/locale Base: Add more module exports + code cleanup 2021-11-21 02:50:41 -08:00
deps SettingsDialog: Mild refactor and add Connect Info dialog 2021-05-08 04:29:03 -07:00
docs docs: Overhaul documentation (#863) 2021-12-10 21:38:18 -08:00
installer Base: Update obs-websocket git locations 2021-11-19 17:24:15 -08:00
lib lib: Add plugin example + slightly change names 2021-11-21 01:37:21 -08:00
src docs: Overhaul documentation (#863) 2021-12-10 21:38:18 -08:00
.editorconfig Base: General cleanup 2021-11-21 02:10:41 -08:00
.gitignore GitIgnore: Ignore generated installer file 2021-08-30 02:51:14 -07:00
.gitmodules SettingsDialog: Mild refactor and add Connect Info dialog 2021-05-08 04:29:03 -07:00
CMakeLists.txt docs: Overhaul documentation (#863) 2021-12-10 21:38:18 -08:00
LICENSE Initial commit for attempted rewrite 2021-03-08 03:56:43 -08:00
README.md Base: General cleanup 2021-11-21 02:10:41 -08:00

obs-websocket

WebSocket API for OBS Studio.

CI Multiplatform Build Discord Financial Contributors on Open Collective

Downloads

Binaries for Windows, MacOS, and Linux are available in the Releases section.

Using obs-websocket

It is highly recommended to protect obs-websocket with a password against unauthorized control. To do this, open the "Websocket server settings" dialog under OBS' "Tools" menu. In the settings dialogs, you can enable or disable authentication and set a password for it.

(Psst. You can use --websocket_port(value), --websocket_password(value), and --websocket_debug(flag) on the command line to override the configured values.)

Possible use cases

  • Remote control OBS from a phone or tablet on the same local network
  • Change your stream overlay/graphics based on the current scene
  • 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!)

Client libraries (for developers)

Here's a list of available language APIs for obs-websocket:

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 protocol we use is documented in 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!

Contributors

Code Contributors

This project exists thanks to all the people who contribute. Contribute.

Financial Contributors

Become a financial contributor and help us sustain our community. Contribute

Individuals

Organizations

Support this project with your organization. Your logo will show up here with a link to your website. Contribute