Akamai example - AWS Elemental MediaLive

Akamai example

This example shows how to set up the destination fields if the downstream system is an Akamai server.

Assume that you want to stream the curling game and to create three outputs: high, medium, and low bitrate.

Field Value
CDN settings in HLS settings section Hls akamai

Change the other CDN fields according to the instructions from Akamai.

URL in HLS group destination A section For example:

http://p-ep50002.i.akamaientrypoint.net/50002/curling

Mapping this URL to the Akamai terminology:

  • p-ep stands for primary entry point

    http://p-ep50002.i.akamaientrypoint.net is the hostname

  • 5002 (in both places) is the stream ID

  • curling is the event name

Credentials in HLS group destination A section If your agreement with Akamai is to deliver over HTTPS, enter a user name and a password that is known to Akamai. For the password, enter the name of the password stored on the AWS Systems Manager Parameter Store. Don't enter the password itself. For more information, see Requirements for AWS Systems Manager—Creating Password Parameters in Parameter Store .
URL in HLS group destination B section For example:

http://b-ep50002.i.akamaientrypoint.net/50002/curling

Mapping this URL to the Akamai terminology:

  • b-ep stands for backup entry point

    http://b-ep50002.i.akamaientrypoint.net is the hostname

  • 5002 (in both places) is the stream ID

  • curling is the event name

Credentials in HLS group destination B section Enter a user name and password for the URL for the other destination, if applicable. The credentials are probably the same for both URLs, but they might not be.
Name modifier in HLS outputs section

Choose Add output twice: two more Output lines are added to this section, for a total of three lines. In each line, enter a modifier: _high, _medium, and _low.

Directory Structure and Segments Per Subdirectory in Location section

Complete the fields according to the instructions from Akamai.

As a result, files are created with the following names:

  • One main manifest: curling.m3u8

  • One child manifest for each output: curling_high.m3u8, curling_medium.m3u8, curling_low.m3u8

  • TS files for each output:

    • curling_high_000001.ts, curling_high_000002.ts, curling_high_000003.ts, and so on

    • curling_medium_000001.ts, curling_medium_000002.ts, curling_medium_000003.ts, and so on

    • curling_low_000001.ts, curling_low_000002.ts, curling_low_000003.ts, and so on

The files will be published to two Akamai hosts – p-ep50002.i.akamaientrypoint.net and b-ep50002.i.akamaientrypoint.net and in a folder called 5002 on each host.