2016-11-30 11:33:08 +01:00
2016-10-10 00:33:56 +02:00
2016-11-18 21:56:50 +01:00
2016-10-10 00:33:56 +02:00
2016-11-11 18:11:17 +01:00
2016-11-23 21:45:25 +01:00
2016-11-18 21:56:50 +01:00
2016-11-18 21:56:50 +01:00
2016-11-16 13:52:12 +01:00
2016-11-19 17:44:09 +01:00
2016-11-30 09:10:04 +01:00
2016-11-30 11:33:08 +01:00
2016-11-16 13:52:12 +01:00
2016-11-27 23:50:59 +01:00
2016-11-16 13:52:12 +01:00
2016-11-18 21:21:09 +01:00

obs-websocket

Websocket API for OBS Studio.

Downloads

Binaries for Windows are available in the Releases section. Linux and OS X releases coming soon.

Using obs-websocket

The Websocket API server runs on port 4444 and a settings window is available in "Websocket server settings" under OBS' "Tools" menu. The obs-websocket protocol is documented in PROTOCOL.md.

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

There's currently no frontend available for obs-websocket.

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 (like the AGDQ overlay does)
  • Automate scene switching with a third-party program (e.g. : auto-pilot, foot pedal, ...)

Compiling obs-websocket

Prerequisites

You'll need QT 5 with QtWebSockets, CMake, and a working development environment for OBS Studio installed on your computer.

Windows

In cmake-gui, you'll have to set the following variables :

  • QTDIR (path) : location of the Qt environment suited for your compiler and architecture
  • LIBOBS_INCLUDE_DIR (path) : location of the libobs subfolder in the source code of OBS Studio
  • LIBOBS_LIB (filepath) : location of the obs.lib file
  • OBS_FRONTEND_LIB (filepath) : location of the obs-frontend-api.lib file

Linux

On Debian/Ubuntu :

sudo apt-get install libqt5websockets5-dev
git clone --recursive https://github.com/Palakis/obs-websocket.git
cd obs-websocket
mkdir build && cd build
cmake -DLIBOBS_INCLUDE_DIR="<path to the libobs sub-folder in obs-studio's source code>" -DCMAKE_INSTALL_PREFIX=/usr ..
make -j4
sudo make install

OS X

To do

Description
No description provided
Readme 65 MiB
Languages
C++ 94.7%
C 2.6%
CMake 2.5%
Shell 0.2%