mirror of
https://github.com/WarmUpTill/SceneSwitcher.git
synced 2026-04-26 00:01:13 -05:00
Updated Websockets (markdown)
parent
010b1264f8
commit
91c0fdd320
|
|
@ -118,4 +118,12 @@ An example event emitted by the Advanced Scene Switcher containing the message "
|
||||||
},
|
},
|
||||||
"op": 5
|
"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:
|
||||||
|
|
||||||
|

|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user