All Products
Search
Document Center

Intelligent Media Services:Get started with MediaLive

Last Updated:Jun 06, 2025

This topic uses an RTMP input as an example to describe the basic operations of MediaLive.

Preparations

  1. Activate Intelligent Media Services (IMS).

  2. Configure MediaPackage. For more information, see MediaPackage.

    Note

    MediaLive only supports using MediaPackage as the output destination. Therefore, you must configure MediaPackage before you can use MediaLive.

Procedure

Step 1: Create a security group

When you configure the input, if you set the input type to PUSH to push external steams to MediaLive, you need to create a security group.

  1. Log on to the IMS console. In the upper-left corner, select a region based on your business requirements.

  2. In the left-side navigation pane, choose MediaLive > Inputs > Security Groups tab, and click Create Security Group. Configure the parameters in the following image.image

    Examples:

    • Security Group Name: SecurityLee

    • IP Address Whitelist: Specify CIDR blocks in the format of 0.0.0.0/0. In this example, no CIDR blocks are specified.

  3. Click OK.

Step 2: Create an input

  1. On the Inputs page, click the Inputs tab. Then, click Create Input. In the panel that appears, configure the parameters.image

    Examples:

    • Input Name: InputLee

    • Input Type: RTMP PUSH

    • Primary Stream Name: MainStream

    • Select Security Group: SecurityLee

  2. After you configure the parameters, click OK.

Step 3: Create a channel

  1. In the left-side navigation pane, choose MediaLive > Channels. On the Channels page, click Create Channel. image

  2. Specify Channel Name, click Add next to Added Inputs.image

    Examples:

    • Channel Name: ChannelLee

  3. In the Add Input panel that appears, enter the name of the created input in the Select Input search box and click the search icon. Select the input and click OK.

    Note

    If you have not created an input, you can create one in this step. For more information, see Step 2: Create an input.

    image

  4. In the Edit Input Settings panel that appears, the Input ID, Input Name, and Input Type parameters are displayed. You can also configure Audio Selector.image

    Note

    Audio selectors are optional. You can create only one audio selector if the input type is RTMP. If you do not configure audio selectors, the source information is used.

  5. Click OK to add the input to the channel. You can click Modify to modify the information about the added input.1746755894744_325E155C-7B72-435a-8AAD-E7E1D5F39310

    Note

    Record the URL that is generated by the system in the Input Source field. You can use this URL to ingest streams.

  6. Click Add next to Added Output Groups. In the Add Output Group panel that appears, configure the parameters.image

    Examples:

    • Output Group Name: OutputLee

    • Output Group Type: MediaPackage

    • MediaPackage Destination:

      • GroupName: ChannelGroup (MediaPackage channel group).

      • ChannelName: ChannelOne (MediaPackage channel).

    • Output Name: Outone

    • Manifest Name Modifier: MFone

    • Manifest Audio Group ID: MFGone

    • Media Type: Audio and Video

    • Video Output Name: OutVideo

    • Audio Output Name: OutAudio

    Note

    Parameters without a red asterisk (*) are optional. If you do not specify the parameters, the source information is used.

  7. After you configure the parameters, click OK.

  8. Click OK to create the channel.image

  9. On the Channels page, find the created channel and click Start in the Actions column.image

    Note

    It may take a few minutes to start the channel. You can click the refresh button in the upper-right corner of the Channels page to update the Status of the channel a few minutes after you click Start. When the Status is Running, the channel is started.

Step 4: Obtain the ingest and streaming URLs

  • Obtain the ingest URL

    1. In the left-side navigation pane, choose MediaLive > Channels. On the Channels page, find the channel that you want to manage and click the channel ID in the Channel ID/Name column.

    2. In the Channel Configuration tab, find the added input for which you want to obtain the ingest URL.

    3. The value of the Input Source field in the Basic Information section is the ingest URL.image

  • Obtain the streaming URL

    1. In the left-side navigation pane, choose MediaLive > Channels. On the Channels page, find the channel that you want to manage and click the channel ID in the Channel ID/Name column.

    2. In the Channel Configuration tab, find the added output group for which you want to obtain the streaming URL.

    3. The value of the Monitoring Address field in the Basic Information section is the streaming URL.image

What to do next

For more information about how to configure MediaLive in the IMS console, see Feature configurations.

You are charged for using MediaLive. For more information, see MediaLive.