mrgoodbytes8667 / obsmessage

Send a custom message to OBS via the OBS Websocket plugin
2 stars 1 forks source link

WIP: Support the updated websocket v5 API calls #14

Closed mrgoodbytes8667 closed 1 year ago

mrgoodbytes8667 commented 1 year ago

Needs to support the newer v5 API calls (It does currently connect, but Stream Deck shows it doesn't)

mrgoodbytes8667 commented 1 year ago

A test build of this pull request for anyone that can assist (will show as version 0.1.4 so that Stream Deck will install it): live.goodbytes.obsmessage.streamDeckPlugin.zip

isopigeon commented 1 year ago

Every time i hit the streamdeck button it seems to reconnect the websocket connection with a close event and no reason. Kruize doesnt seem to react in any way. stream deck shows no connection but OBS does list the connection.

11:34:56.316: [obs-websocket] [WebSocketServer::onClose] WebSocket client[::ffff:127.0.0.1]:50483has disconnected with code1000and reason: 11:34:56.332: [obs-websocket] [WebSocketServer::onOpen] New WebSocket client has connected from [::ffff:127.0.0.1]:50516

kruize v1.5.6 obs 28.0.3 streamdeck 5.3.3.15214

WiscoKel commented 1 year ago

I also get an error when trying to use this version.

22:42:40.617: [obs-websocket] [WebSocketServer::onClose] WebSocket client[::ffff:127.0.0.1]:63697has disconnected with code1000and reason: 22:42:40.622: [obs-websocket] [WebSocketServer::onOpen] New WebSocket client has connected from [::ffff:127.0.0.1]:62563

Kruiz Control v1.6.1 OBS 28.0.3 StreamDeck 5.3.3.15214

mrgoodbytes8667 commented 1 year ago

If I open up the OBS logs I can see where the plugin is sending the message, but KC itself doesn't seem to see it. Using OBS Send itself shows up in the logs but as a warning. I'll have to keep digging.

mrgoodbytes8667 commented 1 year ago

I just applied @Kruiser8's fixes, while I'm still not having any luck specifically here, I'm not 100% sure my Kruiz Control install is setup 100% correct, so I'm going to throw this here for others to test. Again, I'll note that it's going to tell you inside Stream Deck that it doesn't connect, I'm trying to get the actual functionality itself working before I move onto that. Also, I think I properly incremented the version here such that it will install on top properly, if not, just comment and I'll fix it.

live.goodbytes.obsmessage.streamDeckPlugin.zip

WiscoKel commented 1 year ago

This new version is working for me

mrgoodbytes8667 commented 1 year ago

Spun off the remaining two portions so I can "publish" this halfway working build as an alpha.