WIP json API to remote control some basic functions of obs-studio. Examples/info is limited to linux at the moment.
Until some cmake stuff happens the simple makefile will have to do. Please edit the OBS_LIB
, OBS_INCLUDE
and PLUGIN_INSTALL_DIR
to the relevant paths.
make
make install
Find your keybindings in $HOME/.config/obs-studio/basic/profiles/$PROFILE_NAME/basic.ini
examples written with these bindings bound to start/stop recording.
curl -X POST -d '{"action":"api/hotkey","key":"OBS_KEY_NUMSLASH","control":true}' http://localhost:8080/
curl -X POST -d '{"action":"api/hotkey","key":"OBS_KEY_NUMASTERISK"}' http://localhost:8080/