Updated Websockets (markdown)

WarmUpTill
2022-08-31 17:43:03 +02:00
parent 890ddae84d
commit f9d60bc625

@@ -60,7 +60,7 @@ The gear icon will also allow you to rename or remove existing connections.
The scene switcher is using the [obs-websocket protocol](https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#callvendorrequest) to send and receive messages.
This can also be used by external tools to send messages, which can be processed by the plugin and thus trigger macros.
To send a message with the contents `testing` one has to create a `CallVendorRequest` type message using a `vendorName` of `AdvancedSceneSwitcher` and a `requestType` of `AdvancedSceneSwitcherMessage` and add the "message" field with the desired contents to the `requestData`:
To send a message with the contents `testing` one has to create a `CallVendorRequest` type message using a `vendorName` of `AdvancedSceneSwitcher` and a `requestType` of `AdvancedSceneSwitcherMessage` and add the "message" field with the desired contents to the `requestData`.
```
{