mirror of
https://github.com/Palakis/obs-websocket.git
synced 2024-08-30 18:12:16 +00:00
12 lines
614 B
Markdown
12 lines
614 B
Markdown
|
# Events
|
||
|
Events are broadcast by the server to each connected client when a recognized action occurs within OBS.
|
||
|
|
||
|
An event message will contain at least the following base fields:
|
||
|
- `update-type` _String_: the type of event.
|
||
|
- `stream-timecode` _String (optional)_: time elapsed between now and stream start (only present if OBS Studio is streaming).
|
||
|
- `rec-timecode` _String (optional)_: time elapsed between now and recording start (only present if OBS Studio is recording).
|
||
|
|
||
|
Timecodes are sent using the format: `HH:MM:SS.mmm`
|
||
|
|
||
|
Additional fields may be present in the event message depending on the event type.
|