Instant Replay Commands

Captivate includes instant replay functionality, allowing you to grab previously recorded content and play it back as if it were live. All commands here allow you to grab, set, and playout instant replays.

replay_arm_inputs

get
/api/command/replay_arm_inputs

Arms a list of inputs and immediately starts the Instant Replay buffer. You can see the list of available inputs by using replay_get_inputs.

Query parameters
requestIdstringOptional

optional id to track this command, will be returned in the response

inputsarrayOptional

['USB Camera VID:1133 PID:2075']

Responses
200

successful operation

application/json
get
/api/command/replay_arm_inputs

replay_commands

get
/api/command/replay_commands

Get a list of all the available replay commands..

Query parameters
requestIdstringOptional

optional id to track this command, will be returned in the response

Responses
200

successful operation

application/json
get
/api/command/replay_commands

replay_disarm_inputs

get
/api/command/replay_disarm_inputs

Removes an input from the armed inputs list. If there are no armed inputs, the Instant Replay will be disabled..

Query parameters
requestIdstringOptional

optional id to track this command, will be returned in the response

inputsarrayOptional

['USB Camera VID:1133 PID:2075']

Responses
200

successful operation

application/json
get
/api/command/replay_disarm_inputs

replay_enable

get
/api/command/replay_enable

Does the same as starting the instant replay if there are any armed inputs..

Query parameters
requestIdstringOptional

optional id to track this command, will be returned in the response

speednumberOptional

0.5

Responses
200

successful operation

application/json
get
/api/command/replay_enable

replay_enable_scrubbing

get
/api/command/replay_enable_scrubbing

Turn scrubbing on or off. Note: When set to true will leave recording mode and enter replay mode..

Query parameters
requestIdstringOptional

optional id to track this command, will be returned in the response

enablebooleanOptional

True

Responses
200

successful operation

application/json
get
/api/command/replay_enable_scrubbing

replay_enter_playback

get
/api/command/replay_enter_playback

Enters Instant Replay playback mode if it is enabled..

Query parameters
requestIdstringOptional

optional id to track this command, will be returned in the response

Responses
200

successful operation

application/json
get
/api/command/replay_enter_playback

replay_exit_playback

get
/api/command/replay_exit_playback

Exits Instant Replay playback mode..

Query parameters
requestIdstringOptional

optional id to track this command, will be returned in the response

Responses
200

successful operation

application/json
get
/api/command/replay_exit_playback

replay_get_inputs

get
/api/command/replay_get_inputs

Get a list of available inputs that can be used for Instant Replay.

Query parameters
requestIdstringOptional

optional id to track this command, will be returned in the response

speednumberOptional

0.5

Responses
200

successful operation

application/json
get
/api/command/replay_get_inputs

replay_get_play_info

get
/api/command/replay_get_play_info

Get some statistics about the current Instant Replay playback..

Query parameters
requestIdstringOptional

optional id to track this command, will be returned in the response

inputsarrayOptional

['USB Camera VID:1133 PID:2075']

Responses
200

successful operation

application/json
get
/api/command/replay_get_play_info

replay_get_replay_speed

get
/api/command/replay_get_replay_speed

Get the current replay speed..

Query parameters
requestIdstringOptional

optional id to track this command, will be returned in the response

speednumberOptional

0.5

Responses
200

successful operation

application/json
get
/api/command/replay_get_replay_speed

replay_get_settings

get
/api/command/replay_get_settings

Get the current settings. Callback will have a settings object..

Query parameters
requestIdstringOptional

optional id to track this command, will be returned in the response

Responses
200

successful operation

application/json
get
/api/command/replay_get_settings

replay_is_trial_mode

get
/api/command/replay_is_trial_mode

Get a boolean value indicating if Instant Replay has been properly licensed. Returns an object with a boolean named isTrial.

Query parameters
requestIdstringOptional

optional id to track this command, will be returned in the response

Responses
200

successful operation

application/json
get
/api/command/replay_is_trial_mode

replay_play_pause

get
/api/command/replay_play_pause

If in replay mode, does the same as clicking the play arrow..

Query parameters
requestIdstringOptional

optional id to track this command, will be returned in the response

enablebooleanOptional

True

Responses
200

successful operation

application/json
get
/api/command/replay_play_pause

replay_set_in_point

get
/api/command/replay_set_in_point

Set the Instant Replay play-in point. Takes a position parameter just like the previous command, but can be usedwhether replay mode is active or not..

Query parameters
requestIdstringOptional

optional id to track this command, will be returned in the response

positionnumberOptional

10.3

Responses
200

successful operation

application/json
get
/api/command/replay_set_in_point

replay_set_out_point

get
/api/command/replay_set_out_point

Set the Instant Replay play-out point. Same as above..

Query parameters
requestIdstringOptional

optional id to track this command, will be returned in the response

positionnumberOptional

10.3

Responses
200

successful operation

application/json
get
/api/command/replay_set_out_point

replay_set_replay_speed

get
/api/command/replay_set_replay_speed

Change the replay speed.Note: The settings object uses playSpeed but this command uses speed to mean the same thing..

Query parameters
requestIdstringOptional

optional id to track this command, will be returned in the response

speednumberOptional

0.5

Responses
200

successful operation

application/json
get
/api/command/replay_set_replay_speed

replay_set_scrub_position

get
/api/command/replay_set_scrub_position

If in replay mode, sets the scrub position according to seconds in the replay buffer. If the replay buffer is 20 seconds long, a position value of 10 will put the scrub bar in the center of the buffer..

Query parameters
requestIdstringOptional

optional id to track this command, will be returned in the response

positionnumberOptional

10.3

Responses
200

successful operation

application/json
get
/api/command/replay_set_scrub_position

replay_set_settings

get
/api/command/replay_set_settings

Set new Instant Replay settings. Note: settings parameter should follow the same structure as the settings object from replay_get_settings.

Query parameters
requestIdstringOptional

optional id to track this command, will be returned in the response

settingsobjectOptional

{'armedPortList': [], 'bufferLength': 15, 'muteGraphicsOnReplay': True, 'playSpeed': 0.5, 'transIn': '', 'transOut': '', 'usesExternalSwitcher': False}

Responses
200

successful operation

application/json
get
/api/command/replay_set_settings

Last updated