Help Center> Live> Media Live> Getting Started> Adding Domain Names
Updated on 2024-05-11 GMT+08:00

Adding Domain Names

This section describes how to add an ingest domain name and a streaming domain name.

Prerequisites

  • You have registered with Huawei Cloud and completed real-name authentication.

    If you are a Huawei Cloud (International) user, you need to complete real-name authentication when you:

    • Purchase and use cloud services on Huawei Cloud nodes in the Chinese mainland. In this case, real-name authentication is required by the laws and regulations of the Chinese mainland.
    • Plan to use Live in regions in the Chinese mainland.
  • Domain names for Media Live are available. Media Live requires an ingest domain name and a streaming domain name, and the two domain names must be different.

    If you want to perform livestreaming acceleration in Huawei Cloud regions in or outside the Chinese mainland, the domain names must complete ICP filing in advance as required by the Ministry of Industry and Information Technology (MIIT).

  • When a new IAM user uses Media Live for the first time, they need to configure the permission to create a domain name.

Adding Domain Names of Media Live

Add the ingest and streaming domain names to Live. The following describes how to add an ingest domain name. The procedure for adding a streaming domain name is the same.

  1. Log in to the Live console.
  2. In the navigation pane, choose Domains.
  3. Click Add Domain. On the displayed page, enter an ingest domain name.

    Table 1 Domain name parameters

    Parameter

    Description

    Domain Name

    Enter a second-level ingest domain name or streaming domain name. A domain name contains up to 42 characters and is case-insensitive.

    An ingest domain name must be different from a streaming domain name. Wildcard domains are not allowed.

    Example: test-push.example.com

    NOTE:

    By default, you can add up to 64 domain names in your account. If you have additional requirements, submit a service ticket for technical support.

    Enterprise Project

    Add domain names to enterprise projects for unified management.

    Create an enterprise project by referring to Creating an Enterprise Project. The default enterprise project is named default.

    On the Enterprise Project Management page, create an enterprise project and add a user group to the enterprise project. By doing so, users in this user group obtain the permissions on the domain names in the enterprise project.

    NOTE:

    Only an enterprise account can configure enterprise projects.

    Type

    If you enter an ingest domain name for Domain Name, then select Ingest Domain Name for Type. The domain name type cannot be changed once configured.

    Subservice Type

    Subservice type of the Live service.

    Options:

    • Cloud Live: This easy-to-use livestreaming service provides diverse live acceleration capabilities for entertainment, e-commerce, and education scenarios.
    • Media Live: This broadcast-grade livestreaming service supports features such as channel management and content encryption, making it an ideal option for media assets and broadcasting.

    Select Media Live.

    Live Origin Server

    Area where the Live origin server is located. For details, see How Do I Select a Live Origin Server and Acceleration Area? The Live origin server cannot be changed once configured. Select the nearest origin server.

    Currently, Live is supported in the following regions:

    • CN North-Beijing4 of Huawei Cloud (Chinese Mainland)
    • AP-Singapore and ME-Riyadh of Huawei Cloud (International)

      By default, this function is unavailable in ME-Riyadh. If you have additional requirements, submit a service ticket for technical support.

    Service Area

    Area where streaming domain names can be accelerated. For details, see How Do I Select a Live Origin Server and Acceleration Area? This parameter is valid only for streaming domain names, and cannot be changed once configured.

    If the video is not played in the selected acceleration area, the livestreaming quality may be compromised. Select an acceleration area that fits your needs.

    Options:

    • Chinese mainland

      Select this option when the audience is in the Chinese mainland.

      The domain name must be licensed by the Ministry of Industry and Information Technology (MIIT).

    • Outside Chinese mainland

      Select this option when the audience is outside the Chinese mainland (including in Hong Kong, Macao, and Taiwan).

    • Global

      Select this option when there is audience in and outside the Chinese mainland (including in Hong Kong, Macao, and Taiwan).

      The domain name must be licensed by the Ministry of Industry and Information Technology (MIIT).

    Supported Protocols

    Media stream protocols supported by streaming domain names. The value cannot be changed once configured, and defaults to FLV+RTMP.

    Options:

    • FLV+RTMP
    • HLS

  4. Click OK.

    A domain name whose Status is Configuring is displayed in the domain name list. About 3 to 5 minutes later, if the status becomes Normal, the domain name has been added.

  5. Repeat step 1 to step 4 to add a streaming domain name.

Configuring CNAME Records

After domain names are added, a CNAME domain name is assigned to the ingest domain name and streaming domain name, respectively. You can log in to the Live console and view the domain names on the Domains page, as shown in Figure 1.

Add a CNAME record with your DNS provider. For details, see Configuring CNAME Records. After the CNAME record takes effect, all requests for your ingest domain name and streaming domain name are redirected to CDN nodes of Huawei Cloud Live for faster livestreaming.

Figure 1 CNAME record