Closed puyebu closed 11 months ago
Figured it out, now it should work like this
obs-cmd -w obsws://localhost:4455/password info
I think it should be updated properly in help section or error be made clear-er.
I wrote this
obs-cmd --websocket obsws://localhost:4455/secret info # You can override the default `obsws` url
if you use secret
as password it works without specify everytime obsws
At least for me it was not clear that secret is the password until I've looked at sources because it was not mentioned in OBS. I thought that is just default request url without understanding that secret should be replaced with password. I think later I did encounter some message that clarifies it is password but in that case I believe it would be more clear to rename secret to password.
OBS Version: OBS 30.0.0-rc1-82-gba25bc65c-modified (linux) obs-cmd Version: 17.1
Failing to use the obs-cmd, getting auth errors. The password is added in obs-cmd.toml. It had worked before I have updated obs-cmd, I think.
obs-cmd output:
Error: Handshake(ConnectionClosed(Some(CloseDetails { code: Library(4009), reason: "Authentication failed." })))
obs socket output with debug enabled: