mirror of
https://github.com/Palakis/obs-websocket.git
synced 2024-08-30 18:12:16 +00:00
fix: Sleep request fields are exclusive so both optional fixes #1042
This commit is contained in:
parent
7e4c9529eb
commit
290e042612
@ -311,8 +311,8 @@ RequestResult RequestHandler::TriggerHotkeyByKeySequence(const Request &request)
|
||||
/**
|
||||
* Sleeps for a time duration or number of frames. Only available in request batches with types `SERIAL_REALTIME` or `SERIAL_FRAME`.
|
||||
*
|
||||
* @requestField sleepMillis | Number | Number of milliseconds to sleep for (if `SERIAL_REALTIME` mode) | >= 0, <= 50000
|
||||
* @requestField sleepFrames | Number | Number of frames to sleep for (if `SERIAL_FRAME` mode) | >= 0, <= 10000
|
||||
* @requestField ?sleepMillis | Number | Number of milliseconds to sleep for (if `SERIAL_REALTIME` mode) | >= 0, <= 50000
|
||||
* @requestField ?sleepFrames | Number | Number of frames to sleep for (if `SERIAL_FRAME` mode) | >= 0, <= 10000
|
||||
*
|
||||
* @requestType Sleep
|
||||
* @complexity 2
|
||||
|
@ -278,6 +278,8 @@ RequestResult RequestHandler::GetLastReplayBufferReplay(const Request &)
|
||||
|
||||
/**
|
||||
* Gets the list of available outputs.
|
||||
*
|
||||
* @responseField outputs | Array<Object> | Array of outputs
|
||||
*
|
||||
* @requestType GetOutputList
|
||||
* @complexity 4
|
||||
|
Loading…
Reference in New Issue
Block a user