muesli / obs-cli

OBS-cli is a command-line remote control for OBS
MIT License
392 stars 38 forks source link

Is obs-cli incompatible with the latest OBS release of WebSockets? #81

Open anthonyhills opened 8 months ago

anthonyhills commented 8 months ago

Greetings,

I'm using obs-cli from the latest release on Fedora 39, with OBS Studio 30.0.0, which comes with obs-websockets by default.

Enabling websockets (Tools > WebSocket Server Settings > Enable WebSocket server) and specifying the port 4444, I get this error when trying commands such as obs-cli recording start

error: Failed auth: Client/server version mismatch? Unrecognized message: {"d":{"authentication":{"challenge":"+<SCRUBBED>","salt":"<SCRUBBED>="},"obsWebSocketVersion":"5.3.3","rpcVersion":1},"op":0}

Is obs-cli incompatible with the latest OBS release of WebSockets?

stark-silence commented 7 months ago

The last release was like two years ago so yeah this package is useless now.

Best to move on and find something else, it's abandoned.

anthonyhills commented 7 months ago

The last release was like two years ago so yeah this package is useless now.

Best to move on and find something else, it's abandoned.

Yup, using: https://github.com/pschmitt/obs-cli

muesli commented 7 months ago

Is obs-cli incompatible with the latest OBS release of WebSockets?

No, it currently requires v4 of the WebSockets server.

stark-silence commented 7 months ago

I ended up swapping to this.

https://github.com/grigio/obs-cmd