Skip to content

/AWS1/CL_MD2=>CREATEORIGINENDPOINT()

About CreateOriginEndpoint

The endpoint is attached to a channel, and represents the output of the live content. You can associate multiple endpoints to a single channel. Each endpoint gives players and downstream CDNs (such as Amazon CloudFront) access to the content for playback. Content can't be served from a channel until it has an endpoint. You can create only one endpoint with each request.

Method Signature

IMPORTING

Required arguments:

IV_CHANNELGROUPNAME TYPE /AWS1/MD2RESOURCENAME /AWS1/MD2RESOURCENAME

The name that describes the channel group. The name is the primary identifier for the channel group, and must be unique for your account in the AWS Region.

IV_CHANNELNAME TYPE /AWS1/MD2RESOURCENAME /AWS1/MD2RESOURCENAME

The name that describes the channel. The name is the primary identifier for the channel, and must be unique for your account in the AWS Region and channel group.

IV_ORIGINENDPOINTNAME TYPE /AWS1/MD2RESOURCENAME /AWS1/MD2RESOURCENAME

The name that describes the origin endpoint. The name is the primary identifier for the origin endpoint, and must be unique for your account in the AWS Region and channel. You can't use spaces in the name. You can't change the name after you create the endpoint.

IV_CONTAINERTYPE TYPE /AWS1/MD2CONTAINERTYPE /AWS1/MD2CONTAINERTYPE

The type of container to attach to this origin endpoint. A container type is a file format that encapsulates one or more media streams, such as audio and video, into a single file. You can't change the container type after you create the endpoint.

Optional arguments:

IO_SEGMENT TYPE REF TO /AWS1/CL_MD2SEGMENT /AWS1/CL_MD2SEGMENT

The segment configuration, including the segment name, duration, and other configuration values.

IV_CLIENTTOKEN TYPE /AWS1/MD2IDEMPOTENCYTOKEN /AWS1/MD2IDEMPOTENCYTOKEN

A unique, case-sensitive token that you provide to ensure the idempotency of the request.

IV_DESCRIPTION TYPE /AWS1/MD2RESOURCEDESCRIPTION /AWS1/MD2RESOURCEDESCRIPTION

Enter any descriptive text that helps you to identify the origin endpoint.

IV_STARTOVERWINDOWSECONDS TYPE /AWS1/MD2INTEGER /AWS1/MD2INTEGER

The size of the window (in seconds) to create a window of the live stream that's available for on-demand viewing. Viewers can start-over or catch-up on content that falls within the window. The maximum startover window is 1,209,600 seconds (14 days).

IT_HLSMANIFESTS TYPE /AWS1/CL_MD2CREHLSMANIFESTCONF=>TT_CREATEHLSMANIFESTS TT_CREATEHLSMANIFESTS

An HTTP live streaming (HLS) manifest configuration.

IT_LOWLATENCYHLSMANIFESTS TYPE /AWS1/CL_MD2CRELOWLATENCYHLS00=>TT_CRELOWLATENCYHLSMANIFESTS TT_CRELOWLATENCYHLSMANIFESTS

A low-latency HLS manifest configuration.

IT_DASHMANIFESTS TYPE /AWS1/CL_MD2CREDASHMANIFESTC00=>TT_CREATEDASHMANIFESTS TT_CREATEDASHMANIFESTS

A DASH manifest configuration.

IT_TAGS TYPE /AWS1/CL_MD2TAGMAP_W=>TT_TAGMAP TT_TAGMAP

A comma-separated list of tag key:value pairs that you define. For example:

"Key1": "Value1",

"Key2": "Value2"

RETURNING

OO_OUTPUT TYPE REF TO /AWS1/CL_MD2CREORIGINENDPTRSP /AWS1/CL_MD2CREORIGINENDPTRSP