Fixed one issue on the receiving side; the hotkey sequence was incorrectly formed. It now sends the correct keystroke sequence and the intended program catches it as it should.
Now, I'm trying to figure out how to send the message to start the BGM playback.
On the sending machine, I have this as the request to the Advanced Scene Switcher process on the receiving machine:
Code:
{
"d": {
"requestData": {
"requestData": {
"message": "BGM"
},
"requestType": "AdvancedSceneSwitcherMessage",
"vendorName": "AdvancedSceneSwitcher"
},
"requestId": "1",
"requestType": "CallVendorRequest"
},
"op": 6
}
On the receiving side, I have the following as the condition to look for:
I'm basing the request on the "testing" example in the wiki entry about Websockets.
The condition on the sending machine is being triggered correctly because I see that the Websocket message count indicator in OBS's Websocket dialog increment by 1. However, either I'm forming the request incorrectly, I'm incorrectly checking for the desired condition, but more than likely, it's a combination of both. It must be the fact that I don't write any software that talks Websockets (plus I'm not a dev in general, actually) and likely a fundamental lack of understanding of how it works.
Any suggestions?
Thanks.
--Kat. =^.^=