Updated Websockets (markdown)

WarmUpTill 2024-03-12 20:33:19 +01:00
parent 010b1264f8
commit 91c0fdd320

@ -118,4 +118,12 @@ An example event emitted by the Advanced Scene Switcher containing the message "
},
"op": 5
}
```
```
## Sending OBS websocket messages (not specific to the advanced scene switcher)
You will have to construct the message body in accordance with the [OBS websocket protocol](https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#message-types-opcodes).
So you your message must at least include an `op` and `d` field and in most cases also the `requestId`.
Here is an example who to send the websocket message to start a recording:
![image](https://github.com/WarmUpTill/SceneSwitcher/assets/19472752/bb1cc3ae-04b7-4c9d-afbb-b5860919602b)