There are a handful of events that the OBS websocket broadcasts when things occur within OBS itself.
It's important to note, that while it may seem like one event maybe the one to use, there is the possibility that another one is better suited for the use case.
For example, a single scene change, fires off more events then just changing the scene, there are the transition events the happen, a pre and post event for the switch, etc.
This is the format you need to follow with each request
In the request data you need to fill in the request fields that are shown on each page below
{
"requestType": "request method",
"requestData": { ... }
}
General & Miscellaneous OBS Studio requests
CustomEvent
to all WebSocket clients. Receivers are clients which are identified and subscribedGetHotkeyList
SERIAL_REALTIME
or SERIAL_FRAME
Config related OBS Studio requests
Source related OBS Studio requests
Scene related OBS Studio requests
Input related OBS Studio requests
Transition related OBS Studio requests
Filter related OBS Studio requests
Scene Item related OBS Studio requests
Output related OBS Studio requests
Stream related OBS Studio requests
Record related OBS Studio requests
Media Input related OBS Studio requests
Ui related OBS Studio requests
This are examples for requests that existed in privious version of the obs websocket