Example for an HTTP or HTTPS server - MediaLive

Example for an HTTP or HTTPS server

This example shows how to set up the destination fields if the downstream system is an HTTPS server that uses basic PUT.

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 basic put

Change the other CDN fields according to the instructions from the downstream system.

URL in HLS group destination A section For example:

Credentials in HLS group destination A section If the downstream system requires authenticated requests, enter the user name provided by the downstream system. 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:

Credentials in HLS group destination B section Enter a user name and password for the URL for destination B, 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

Assume that the downstream system doesn't use these fields.

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

  • One main manifest: index.m3u8

  • One child manifest for each output: index-high.m3u8, index-medium.m3u8, index-low.m3u8

  • TS files for each output:

    • index-high-00001.ts, index-high-00002.ts, index-high-00003.ts, and so on

    • index-medium-00001.ts, index-medium-00002.ts, index-medium-00003.ts, and so on

    • index-low-00001.ts, index-low-00002.ts, index-low-00003.ts, and so on

The files will be published to two hosts at the downstream system, and in a folder called sports on each host.