Getting started with AWS Elemental MediaPackage
This tutorial describes how to get started with MediaPackage, using the console to create a channel and endpoints for streaming live videos.
Topics
Prerequisites
Before you can use MediaPackage, you need an AWS account and the appropriate permissions to access, view, and edit MediaPackage components. Make sure that your system administrator has completed the steps in Setting up MediaPackage, and then return to this tutorial.
For supported live inputs and codecs, see Supported inputs and outputs.
Step 1: Access MediaPackage
Using your IAM credentials, sign in to the AWS Elemental MediaPackage console:
https://console.aws.amazon.com/mediapackage/
Step 2: Create a channel group
A channel group is the top-level resource that streamlines the organization of multiple channels and origin endpoints associated with it.
To create a channel group
Open the MediaPackage console at https://console.aws.amazon.com/mediapackage/
. -
On the Channel groups page, choose Create channel group.
-
Enter a unique name that describes the channel group and, optionally, a description.
-
Choose Create.
MediaPackage displays the new channel group's details page.
Step 3: Create a channel
The channel represents the input to MediaPackage for incoming live content from an encoder such as AWS Elemental MediaLive. The channel receives content, and after packaging it, outputs it through an endpoint to downstream devices (such as video players or CDNs) that request the content.
MediaPackage does not require that you supply any customer data. There are no fields in channels where there is an expectation that you will provide customer data.
To create a channel
-
Access the channel group that the channel will be associated with.
-
In the Channel group details page, under Channels, choose Create channel.
-
Enter a unique name that describes the channel and, optionally, a description.
-
Choose your channel's IAM policy that defines the permissions of your channel.
-
Choose Create.
MediaPackage displays the new channel's details page. The channel is active and can start receiving content as soon as it's created.
Step 4: Create an endpoint
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.
To create an endpoint
-
On the Channels page, choose the channel that the endpoint will be associated with.
-
On the details page for the channel, under Origin endpoints, choose Create endpoint.
-
Enter a unique name that describes the endpoint and, optionally, a description.
-
Choose the container type and define the corresponding settings.
-
Choose your origin endpoint's IAM policy that defines the permissions of your endpoint.
-
Define the manifests emitted from the origin endpoint.
-
Choose Save.
MediaPackage displays the channel's details page, including the endpoint that you just created.
Step 5: Clean up
To avoid extraneous charges, be sure to delete all unnecessary channel groups, channels, and endpoints. You must delete the channels and endpoints before you can delete the channel group.
-
Delete the endpoint as described in Deleting an endpoint in AWS Elemental MediaPackage.
-
Delete a channel as described in Deleting a channel in AWS Elemental MediaPackage.
-
Delete the channel group as described in Deleting a channel group from AWS Elemental MediaPackage.