Skip to content

Insert Ad Break

ivs_insert_ad_break R Documentation

Inserts an ad marker in the playlist for the specified channel and duration using the ad configuration associated with the channel

Description

Inserts an ad marker in the playlist for the specified channel and duration using the ad configuration associated with the channel.

Note: AWS Elemental MediaTailor (EMT), the service that handles ad requests, provides CloudWatch metrics to help you monitor the success or failure of each InsertAdBreak operation. See Monitoring AWS Elemental MediaTailor with Amazon CloudWatch metrics in the AWS Elemental MediaTailor User Guide for details on available metrics.

Usage

ivs_insert_ad_break(channelArn, durationSeconds)

Arguments

channelArn

[required] ARN of the channel into which the ad break is inserted.

durationSeconds

[required] Maximum duration of the ad break, in seconds.

Value

A list with the following syntax:

list(
  adBreakId = "string"
)

Request syntax

svc$insert_ad_break(
  channelArn = "string",
  durationSeconds = 123
)