MediaLive supports integration with MediaPackage and directly outputs HLS/DASH live streams to MediaPackage under the same account, which helps you build your own origin servers and perform video distribution and playback.
Please enable the MediaPackage service before outputting to MediaPackage. Log in to the MediaPackage console to create a channel.
Click “Create Channel” on the upper left corner to create a channel. Enter a channel name and select a protocol that is consistent with the MediaLive output type. For example: select HLS if the output type of MediaLive is HLS_MediaPackage.
MediaLive and MediaPackage need to be in the same region.
After the channel has been created, you will enter the details page of the channel to create an endpoint node. You can also choose whether to enable the IP allowlist, IP blocklist or the authentication function according to your actual business needs.
The created endpoint URL is the playback/origin server URL.
When setting the output of MediaLiveSelect, you can select MediaPackage as the output type and fill in the Channel ID of MediaPackage.
Return to the MediaLive console. When configuring the output, you can select either HLS_MEDIAPACKAGE or DASH_MEDIAPACKAGE as the output group type (depending on your actual business needs and the channel type of the MediaPackage you just created), and then fill in the MediaPackage channel ID.
You can go back to MediaLive channel creation to complete the other channel configurations. Click “Done” to save and submit the configurations.