trigger_media_input_action
Trigger play, pause, stop, restart, next, or previous actions on a media source in OBS to control playback directly.
Instructions
Trigger a transport action on a media source.
Args: input_name: Name of the media input. action: One of OBS_WEBSOCKET_MEDIA_INPUT_ACTION_PLAY, _PAUSE, _STOP, _RESTART, _NEXT, _PREVIOUS.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | Yes | ||
| input_name | Yes |