Play media range
media_play_rangePlay a media source segment from startMs to endMs, pausing or stopping at the exact end frame.
Instructions
Play only a specified [startMs,endMs] range. Returns immediately while the server watches the real OBS media cursor; at end it pauses on the exact end frame by default or stops.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| endMs | Yes | ||
| mediaId | No | Media ID. This is the OBS input UUID returned by media_add/media_list. | |
| startMs | Yes | ||
| endAction | No | pause | |
| mediaName | No | OBS media input name. | |
| speedPercent | No | ||
| pollIntervalMs | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | ||
| error | No | ||
| result | No |