AWS Elemental MediaPackage
User Guide

How AWS Elemental MediaPackage Works

AWS Elemental MediaPackage uses just-in-time format conversion to deliver over-the-top (OTT) video from a single source to a wide variety of playback devices or content delivery networks (CDNs).

Here is the general processing flow:

  1. An upstream encoder (such as AWS Elemental MediaLive) sends an HLS live stream over WebDAV to the AWS Elemental MediaPackage channel ingest URL, and includes the channel's access credentials (as supplied in MediaPackage). AWS scales resources up and down to handle the incoming traffic.

  2. A downstream device requests content from AWS Elemental MediaPackage through the endpoint egress URL. A downstream device is either a video player or a content distribution network (CDN). The egress URL is associated with an endpoint for a specific streaming format (either Apple HLS, DASH-ISO, CMAF, or Microsoft Smooth Streaming).

  3. When AWS Elemental MediaPackage receives the playback request from the downstream device, it dynamically packages the stream according to the settings that you specified on the endpoint. Packaging can include adding encryption and configuring audio, video, and subtitles or captions track outputs.

  4. AWS Elemental MediaPackage delivers the output stream over HTTPS to the requesting device. As with ingest, AWS scales resources up and down to handle changes in traffic.

  5. AWS Elemental MediaPackage logs activity through Amazon CloudWatch. You can view information like the number of content requests and ingress or egress bytes. For information about viewing MediaPackage metrics in CloudWatch, see Monitoring AWS Elemental MediaPackage with Amazon CloudWatch.

Throughout the ingest and egress processes, AWS Elemental MediaPackage detects and mitigates potential infrastructure failures before they become a problem for viewers.

The following illustration shows the overall process.

                AWS Elemental MediaPackage workflow