Splice_Insert Message – Payload - AWS Elemental MediaLive

Splice_Insert Message – Payload

For information about the meaning and values for the fields in the following JSON, see the AWS Elemental MediaLive API Reference:

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

Example of a Splice Insert with a Fixed Start Time

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).

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

Example of a Splice Insert as a Follow

This example of a request creates an action for a splice_insert to be inserted after the input switch called nature_doco_003 ends. The action 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).

Follow mode for a SCTE-35 message is useful when you want an ad avail to occur as soon as an input finishes, but you don't know when that will happen.

{ "ChannelId": "999999", "Creates": { "ScheduleActions": [ { "ScheduleActionStartSettings": { "FollowModeScheduleActionStartSettings": { "FollowPoint": "END", "ReferenceActionName": "nature_doco_003" }, "ActionName": "adavail_3708", "ScheduleActionSettings": { "Scte35SpliceInsertSettings": { "SpliceEventId": 3708, "Duration": 1350000 } } } ] } }