Package Details: obs-websocket 5.0.0-2

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

Latest Comments

1 2 3 Next › Last »

dhtseany commented on 2023-11-13 18:46 (UTC)

The QR Code generator fails to build, Why is that needed anyways?

-> Creating working copy of obs-websocket git repo... Cloning into 'obs-websocket'... done. Switched to a new branch 'makepkg' -> Creating working copy of QR-Code-generator git repo... Cloning into 'QR-Code-generator'... done. ==> Starting prepare()... Submodule 'deps/qr' (https://github.com/nayuki/QR-Code-generator.git) registered for path 'deps/qr' Cloning into '/home/ssnell/.cache/yay/obs-websocket/src/obs-websocket/deps/qr'... fatal: transport 'file' not allowed fatal: clone of '/home/ssnell/.cache/yay/obs-websocket/src/QR-Code-generator' into submodule path '/home/ssnell/.cache/yay/obs-websocket/src/obs-websocket/deps/qr' failed Failed to clone 'deps/qr'. Retry scheduled Cloning into '/home/ssnell/.cache/yay/obs-websocket/src/obs-websocket/deps/qr'... fatal: transport 'file' not allowed fatal: clone of '/home/ssnell/.cache/yay/obs-websocket/src/QR-Code-generator' into submodule path '/home/ssnell/.cache/yay/obs-websocket/src/obs-websocket/deps/qr' failed Failed to clone 'deps/qr' a second time, aborting ==> ERROR: A failure occurred in prepare(). Aborting... -> error making: obs-websocket-exit status 4

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
sed -i "s|set(CMAKE_CXX_STANDARD_REQUIRED ON)|set(CMAKE_CXX_STANDARD_REQUIRED ON) \n\

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 https://aur.archlinux.org/packages/obs-websocket-bin

@yhtez

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: https://github.com/obsproject/obs-websocket/issues/916

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.