Updated on 2024-04-17 GMT+08:00

Adding Domain Names

Before using Live, you must add ingest domain names and streaming domain names to Live.

Before connecting your domain name to Huawei Cloud Live, you need to understand the access conditions and restrictions of acceleration domain names to avoid losses caused by rule violations. For details, see Domain Name Admission Standards.

Domain Name Admission Process

Figure 1 shows the process of using your own domain name for livestreaming acceleration.

Figure 1 Domain name admission process
  1. Add domain names. Add an ingest domain name and a streaming domain name (both licensed) to Live.
  2. Associate domain names. Associate the ingest domain name with the streaming domain name.
  3. Configure CNAME records at your domain names' DNS providers so that the CNAME records allocated to Live point to the domain names.

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 Live are available. 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).

Notes

  • An area needs to be specified for stream push, and the streaming domain name needs to be associated with an ingest domain name. In this way, a streaming domain name can be used to watch livestreaming in the area where the ingest domain name is located. That is, a streaming domain name cannot be used to watch livestreaming in and outside China at the same time.
  • The price of livestreaming outside China is different from that in China. For details, see Pricing Details.
  • If the streaming URL is not used in the selected acceleration area, the playback quality may be compromised.
  • If the Service Area of the streaming domain name is Chinese mainland or Global, and the origin server of the ingest domain name is in the Chinese mainland, the domain names must be licensed in the Chinese mainland.

Procedure

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

    Figure 2 Adding domain names
    Table 1 Domain name parameters

    Parameter

    Description

    Domain Name

    Enter a level-2 ingest domain name or streaming domain name, for example, test-push.example.com.

    NOTE:
    • The domain name can contain a maximum of 42 characters, which cannot contain uppercase letters.
    • An ingest domain name must be different from a streaming domain name. Wildcard domains are not allowed.
    • By default, you can add up to 64 domain names in your account. To add more domain names, submit a service ticket.

    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.

    The options are as follows:

    • Cloud Live
    • Media Live

    Select Cloud 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): CN North-Beijing4 and AP-Singapore.
    • Singapore of Huawei Cloud (International): AP-Singapore, LA-Sao Paulo1, and CN North-Beijing4.
    NOTE:
    • The origin server of the ingest domain name must be in the region where the streamer is. Streamers cannot push streams across regions. For example, if a streamer needs to livestream in both the Chinese mainland and Malaysia, two sets of streaming and ingest domain names need to be configured. The origin servers of each set of domain names are the Chinese mainland and Singapore, respectively.
    • The origin servers of the ingest and streaming domain names to be associated must be in the same region.
    • The OBS buckets that you use for storing live video recordings and snapshots must be in the same region as the Live origin server.

    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.

    The options are as follows:

    • 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).

  4. Click OK.

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

  5. After adding the streaming domain name, you need to associate the streaming domain name with the ingest domain name before using Live. The associated ingest domain name and streaming domain name must belong to the same Live origin server. For details, see Associating Domain Names.
  6. Add a CNAME record to your domain's DNS records. For details, see Configuring CNAME Records. Once the configuration takes effect, livestreaming acceleration is automatically enabled for the domain name.

Follow-up Operations

After domain names are added, you can configure the following settings for the ingest and streaming domain names.