triggerVideoInput method

Future<bool> triggerVideoInput(
  1. String id
)
inherited

triggerVideoInput -> /v1/trigger/video_input/{id}

Triggers the specified video input in the video input playlist. Video input sources must be added to the Video Input playlist in the Media Bin in order to be triggered with this endpoint.

PARAMETERS

id : The ID of the video input, either name, index or UUID.

  • Example (by_name): Input 1
  • Example (by_index): 3
  • Example (by_uuid): 3C39C433-5C18-4F51-B357-55BB870227C4

RESPONSE 204:

The request was processed successfully. There is no response body.

content-type: NONE

Implementation

Future<bool> triggerVideoInput(String id) async {
  String url = '/v1/trigger/videoInput/$id';

  return await call('get', url, httpAccept: 'application/json');
}