Creating an HLS pull input - AWS Elemental MediaLive

Creating an HLS pull input

Create your input before you create the channel that ingests the input.

To create an HLS pull input

  1. From the upstream system, obtain the full URLs of the locations where MediaLive will pull the M3U8 manifest source from. You need two URLs for an input in a standard channel, or one URL for an input in a single-pipeline channel.

    The URLs will have one of these formats:

    • For a location that supports HTTP or HTTPS, enter an HTTP or HTTPS URL. For example, https://203.0.113.13/newschannel/anytownusa.m3u8 and https://203.0.113.54/newschannel/anytownusa.m3u8.

    • For a manifest that is stored on AWS Elemental MediaStore, the URL must include the data endpoint for the container. For example, the M3U8 file is called mlaw.m3u8, and it is stored in the container "movies" in the folder path premium/canada. The URL for the container might be eri39n.data.mediastore.us-west-2.amazonaws.com. The value that you enter in this field would be mediastoressl://eri39n.data.mediastore.us-west-2.amazonaws.com/premium/canada/mlaw.m3u8.

    • For a manifest that is stored on Amazon S3, enter the protocol as s3 or s3ssl, and then enter the bucket name and object for the manifest. For example, s3://movies/mlaw.m3u8 and s3://movies/redundant/mlaw.m3u8.

      With MediaLive, the Amazon S3 bucket name must not use dot notation. For example, mycompany-videos is acceptable but mycompany.videos isn't.

  2. Open the MediaLive console at https://console.aws.amazon.com/medialive/.

  3. In the navigation pane, choose Inputs.

  4. On the Inputs page, choose Create input.

  5. In the Input details section, for Input name, enter a name.

  6. For Input type, choose HLS.

  7. In the Channel and input class section, choose the class for this input:

    • STANDARD

    • SINGLE-PIPELINE

    For information, see Channel class—implementing pipeline redundancy.

  8. In the Input sources section, enter the URLs you previously obtained:

    • If the input is a standard input, complete both fields, to provide two URLs.

    • If the input is a single-pipeline input, complete the first field with the URL that you obtained and leave the second field empty.

  9. If the upstream system requires that you provide user credentials, you must also enter the user name and password key for accessing the location. These credentials are stored on the Systems Manager Parameter Store. For more information, see About the Feature for Creating Password Parameters.

  10. In the Tags section, create tags if you want to associate tags with this input. For more information, see Tagging AWS Elemental MediaLive Resources.

  11. Choose Create.

    MediaLive creates the input and adds it to the list of inputs. The input specifies either one or two sources. The sources don't appear in the list, but if you choose the Name link, the details page shows them.

    When you start the channel, MediaLive will connect to the upstream system at this source location or locations and pull the content:

    • For a channel set up as a standard channel, MediaLive expects the upstream system to provide two sources and will therefore attempt to pull from both source locations.

    • For a channel set up as a single-pipeline channel, MediaLive expects the upstream system to provide one source and will therefore attempt to pull from one source location.