obs-trigger-media-input-action
Control media playback in OBS Studio by triggering actions like play, pause, stop, restart, next, or previous on specified media inputs through remote WebSocket commands.
Instructions
Triggers an action on a media input
Input Schema
Name | Required | Description | Default |
---|---|---|---|
inputName | Yes | Name of the media input | |
mediaAction | Yes | Action to trigger (PLAY, PAUSE, STOP, RESTART, NEXT, PREVIOUS) |
Input Schema (JSON Schema)
{
"properties": {
"inputName": {
"description": "Name of the media input",
"type": "string"
},
"mediaAction": {
"description": "Action to trigger (PLAY, PAUSE, STOP, RESTART, NEXT, PREVIOUS)",
"enum": [
"OBS_WEBSOCKET_MEDIA_INPUT_ACTION_PLAY",
"OBS_WEBSOCKET_MEDIA_INPUT_ACTION_PAUSE",
"OBS_WEBSOCKET_MEDIA_INPUT_ACTION_STOP",
"OBS_WEBSOCKET_MEDIA_INPUT_ACTION_RESTART",
"OBS_WEBSOCKET_MEDIA_INPUT_ACTION_NEXT",
"OBS_WEBSOCKET_MEDIA_INPUT_ACTION_PREVIOUS"
],
"type": "string"
}
},
"required": [
"inputName",
"mediaAction"
],
"type": "object"
}