AWS Elemental MediaLive
User Guide

JSON Code for a Splice Insert Message

JSON Code for a Splice Insert Message

This JSON code goes in the --creates parameter of the command.

"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. It also has an ActionName that perhaps references an ad avail from your database, a unique integer for the splice event ID, and a duration of 1,350,000 kHz ticks (15 seconds).

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