mirror of
https://github.com/Palakis/obs-websocket.git
synced 2024-08-30 18:12:16 +00:00
docs: Document ObsMediaInputAction
This commit is contained in:
parent
9385a2449e
commit
964e91bbd7
@ -122,7 +122,7 @@ for comment in comments_raw:
|
||||
enumValue = field_to_string(comment['enumValue'])
|
||||
enum['enumValue'] = int(enumValue) if enumValue.isdigit() else enumValue
|
||||
else:
|
||||
enum['enumValue'] = None
|
||||
enum['enumValue'] = enum['enumIdentifier']
|
||||
|
||||
if enumType not in enums_raw:
|
||||
enums_raw[enumType] = {'enumIdentifiers': [enum]}
|
||||
|
@ -77,12 +77,75 @@ enum ObsOutputState {
|
||||
};
|
||||
|
||||
enum ObsMediaInputAction {
|
||||
/**
|
||||
* No action.
|
||||
*
|
||||
* @enumIdentifier OBS_WEBSOCKET_MEDIA_INPUT_ACTION_NONE
|
||||
* @enumType ObsMediaInputAction
|
||||
* @rpcVersion 1
|
||||
* @initialVersion 5.0.0
|
||||
* @api enums
|
||||
*/
|
||||
OBS_WEBSOCKET_MEDIA_INPUT_ACTION_NONE,
|
||||
/**
|
||||
* Play the media input.
|
||||
*
|
||||
* @enumIdentifier OBS_WEBSOCKET_MEDIA_INPUT_ACTION_PLAY
|
||||
* @enumType ObsMediaInputAction
|
||||
* @rpcVersion 1
|
||||
* @initialVersion 5.0.0
|
||||
* @api enums
|
||||
*/
|
||||
OBS_WEBSOCKET_MEDIA_INPUT_ACTION_PLAY,
|
||||
/**
|
||||
* Pause the media input.
|
||||
*
|
||||
* @enumIdentifier OBS_WEBSOCKET_MEDIA_INPUT_ACTION_PAUSE
|
||||
* @enumType ObsMediaInputAction
|
||||
* @rpcVersion 1
|
||||
* @initialVersion 5.0.0
|
||||
* @api enums
|
||||
*/
|
||||
OBS_WEBSOCKET_MEDIA_INPUT_ACTION_PAUSE,
|
||||
/**
|
||||
* Stop the media input.
|
||||
*
|
||||
* @enumIdentifier OBS_WEBSOCKET_MEDIA_INPUT_ACTION_STOP
|
||||
* @enumType ObsMediaInputAction
|
||||
* @rpcVersion 1
|
||||
* @initialVersion 5.0.0
|
||||
* @api enums
|
||||
*/
|
||||
OBS_WEBSOCKET_MEDIA_INPUT_ACTION_STOP,
|
||||
/**
|
||||
* Restart the media input.
|
||||
*
|
||||
* @enumIdentifier OBS_WEBSOCKET_MEDIA_INPUT_ACTION_RESTART
|
||||
* @enumType ObsMediaInputAction
|
||||
* @rpcVersion 1
|
||||
* @initialVersion 5.0.0
|
||||
* @api enums
|
||||
*/
|
||||
OBS_WEBSOCKET_MEDIA_INPUT_ACTION_RESTART,
|
||||
/**
|
||||
* Go to the next playlist item.
|
||||
*
|
||||
* @enumIdentifier OBS_WEBSOCKET_MEDIA_INPUT_ACTION_NEXT
|
||||
* @enumType ObsMediaInputAction
|
||||
* @rpcVersion 1
|
||||
* @initialVersion 5.0.0
|
||||
* @api enums
|
||||
*/
|
||||
OBS_WEBSOCKET_MEDIA_INPUT_ACTION_NEXT,
|
||||
/**
|
||||
* Go to the previous playlist item.
|
||||
*
|
||||
* @enumIdentifier OBS_WEBSOCKET_MEDIA_INPUT_ACTION_PREVIOUS
|
||||
* @enumType ObsMediaInputAction
|
||||
* @rpcVersion 1
|
||||
* @initialVersion 5.0.0
|
||||
* @api enums
|
||||
*/
|
||||
OBS_WEBSOCKET_MEDIA_INPUT_ACTION_PREVIOUS,
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user