Package Details: obs-websocket 5.0.0-2

Git Clone URL: (read-only, click to copy)
Package Base: obs-websocket
Description: WebSockets API for obs-studio
Upstream URL:
Keywords: obs obs-studio websockets
Licenses: GPL2
Submitter: None
Maintainer: yhtez
Last Packager: yhtez
Votes: 13
Popularity: 0.000800
First Submitted: 2020-01-03 21:33 (UTC)
Last Updated: 2022-07-10 15:37 (UTC)

Latest Comments

1 2 3 Next › Last »

yhtez commented on 2022-11-27 00:26 (UTC)

That patch shouldn't work iirc, OBS Studio 28 switched from Qt5 to Qt6. I've looked at packaging a working version of obs-websocket but as far as I can tell support for building the plugin on it's own was removed and it's now expected that it is built with OBS instead, which from what I can tell is the same situation as with the browser source plugin sadly.

Ashark commented on 2022-11-27 00:17 (UTC)

Is 5.0.0-2 patched with previous comment working for you?
When I start obs (28.1.2-1) it says that it failed to load obs-websocket plugin and tells to update or delete it.

Ashark commented on 2022-11-26 23:19 (UTC)

@zxalexis Can you please edit your comment and use tripple "```" before and after code block.

zxalexis commented on 2022-10-23 18:08 (UTC)

Made successful build with this modification of PKGBUILD:

prepare() { cd "$pkgname"

# Patch CMakeLists to use system nlohmann-json headers instead of a submodule
sed -i "s|add_subdirectory(deps/json)|find_package(nlohmann_json 3.10.0 REQUIRED)|" CMakeLists.txt

#Patch CMakeLists to find system libobs instead LibObs
sed -i "s|LibObs REQUIRED|libobs REQUIRED|" CMakeLists.txt
sed -i "s|include_directories(|include_directories(SYSTEM|" CMakeLists.txt
sed -i "s|${LIBOBS_INCLUDE_DIR}/../UI/obs-frontend-api|${LIBOBS_INCLUDE_DIR}|" CMakeLists.txt

set(CMAKE_CXX_EXTENSIONS ON) \n\ if((CMAKE_CXX_COMPILER_ID MATCHES \"Clang\") OR (CMAKE_CXX_COMPILER_ID MATCHES \"GNU\")) \n\ add_compile_options(-fms-extensions) \n\ endif()|" CMakeLists.txt

sed -i "s|\tlibobs|\tobs|" CMakeLists.txt

git submodule init deps/qr
git config submodule.deps/qr.url "$srcdir/QR-Code-generator"
git -c protocol.file.allow=always submodule update deps/qr


MrDev023 commented on 2022-05-15 10:21 (UTC) (edited on 2022-05-15 10:22 (UTC) by MrDev023)

Try this


yhtez commented on 2022-03-27 05:02 (UTC)

Currently doesn't build against latest obs-studio due to upstream refusing to support doing so:

Package will be updated to 5.0 when a non-beta release is out.

valwithoutfriend commented on 2022-03-27 04:53 (UTC)

@freakrho obs-WebSocket 4.9.X doesn't work on the latest obs 27.2.X. They are working on WebSocket version 5 now and you can install the alpha version manually on GitHub. Just check the GitHub first before posting here.

freakrho commented on 2022-03-27 00:21 (UTC)

I have the same error as idbentley, I don't know how to install this on my pc

valwithoutfriend commented on 2022-03-21 04:36 (UTC)

@idbentley 4.X.X version doesn't work on the newest obs 27.2.X version. There is a new alpha version 5 release but you need to download and build it on your own.

idbentley commented on 2022-03-21 01:38 (UTC) (edited on 2022-03-21 01:42 (UTC) by idbentley)

I am currently unable to build. Is this the "build against libobs headers" bug referenced in Febuary (I don't think it is), and if so, is there a workaround?

/home/ian/Downloads/aur-488cf348c5e9ab55efedc2fc04987ffd3bc4fe24/src/obs-websocket-4.9.1/build/obs-websocket_autogen/UVLADIE3JM/../../../src/rpc/../obs-websocket.h:38:7: error: conflicting declaration ‘using OBSOutputAutoRelease = class OBSRef<obs_output*, ___output_dummy_addref, obs_output_release>’
   38 | using OBSOutputAutoRelease =
      |       ^~~~~~~~~~~~~~~~~~~~
In file included from /home/ian/Downloads/aur-488cf348c5e9ab55efedc2fc04987ffd3bc4fe24/src/obs-websocket-4.9.1/build/obs-websocket_autogen/UVLADIE3JM/../../../src/WSEvents.h:22,
                 from /home/ian/Downloads/aur-488cf348c5e9ab55efedc2fc04987ffd3bc4fe24/src/obs-websocket-4.9.1/build/obs-websocket_autogen/UVLADIE3JM/moc_WSEvents.cpp:10,
                 from /home/ian/Downloads/aur-488cf348c5e9ab55efedc2fc04987ffd3bc4fe24/src/obs-websocket-4.9.1/build/obs-websocket_autogen/mocs_compilation.cpp:2:
/usr/include/obs/obs.hpp:70:7: note: previous declaration as ‘using OBSOutputAutoRelease = class OBSRefAutoRelease<obs_output*, obs_output_release>’
   70 | using OBSOutputAutoRelease =
      |       ^~~~~~~~~~~~~~~~~~~~
make[2]: *** [CMakeFiles/obs-websocket.dir/build.make:76: CMakeFiles/obs-websocket.dir/obs-websocket_autogen/mocs_compilation.cpp.o] Error 1
make[2]: Leaving directory '/home/ian/Downloads/aur-488cf348c5e9ab55efedc2fc04987ffd3bc4fe24/src/obs-websocket-4.9.1/build'
make[1]: *** [CMakeFiles/Makefile2:84: CMakeFiles/obs-websocket.dir/all] Error 2
make[1]: Leaving directory '/home/ian/Downloads/aur-488cf348c5e9ab55efedc2fc04987ffd3bc4fe24/src/obs-websocket-4.9.1/build'
make: *** [Makefile:136: all] Error 2
make: Leaving directory '/home/ian/Downloads/aur-488cf348c5e9ab55efedc2fc04987ffd3bc4fe24/src/obs-websocket-4.9.1/build'
==> ERROR: A failure occurred in build().