AWS Elemental MediaLive
User Guide

JSON for a Splice Insert Message

The JSON for a Splice Insert Message

This JSON goes in the Create section of the command body. This JSON body has the Pascal case (upper camel case) that applies to the AWS CLI.

{ "ChannelId": "string", "Creates": { "ScheduleActions": [ { "ScheduleActionStartSettings": { "FixedModeScheduleActionStartSettings": { "Time": "string" } }, "ActionName": "string", "ScheduleActionSettings": { "Scte35SpliceInsertSettings": { "SpliceEventId": "integer", "Duration": "integer" } } } ] } }

Example

This example of a request creates an action for a splice_insert with a UTC start time of 20:42:04.000, with an ActionName that perhaps references an ad avail from your database, with a unique integer for the splice event ID, and with a duration of 1,350,000 kHz ticks (15 seconds).

This JSON body has the Pascal case (upper camel case) that applies to the AWS CLI.

{ "ChannelId": "999999", "Creates": { "ScheduleActions": [ { "ScheduleActionStartSettings": { "FixedModeScheduleActionStartSettings": { "Time": "2018-05-21T20:42:04.000Z" } }, "ActionName": "adavail_3708", "ScheduleActionSettings": { "Scte35SpliceInsertSettings": { "SpliceEventId": 3708, "Duration": 1350000 } } } ] } }