Help Center> Live> Getting Started> Configuring Domain Names

Configuring Domain Names

This section describes how to configure ingest and streaming domain names. If your customer tier is V0 and V1, you do not have permissions to add a domain name. You can view your customer tier on the Basic Information page of My Account.

In addition to using your own domain names for stream pushing and playback, you can also try the following URLs provided by HUAWEI CLOUD Live.
  • Ingest URL: rtmp://push.hwvideo.hwcloudlive.com/live/huawei01
  • Streaming URL: rtmp://pull.hwvideo.hwcloudlive.com/live/huawei01

If you only need the preceding trial URLs for live streaming, skip this section. For details, see Using Live on a PC.

Prerequisites

  • You have registered with HUAWEI CLOUD and completed real-name authentication.
  • An ingest domain name and streaming domain name have been obtained and licensed. The domain name must be unique.
    • If you need to purchase domain names, go to the Domain Registration page of HUAWEI CLOUD or purchase domain names from other domain name service providers.
    • If you have domain names that have not been licensed according to requirements of the Ministry of Industry and Information Technology (MIIT), complete ICP filing in the HUAWEI CLOUD Registration Center.

Adding Domain Names

Add the licensed ingest and streaming domain names to the Live service. The following example 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 Name. On the displayed page, enter an ingest domain name.

    If your domain name has not been licensed, a message "Failed to add the domain name. The ICP number does not exist." will be displayed.

    Figure 1 Adding a domain name
    Table 1 Domain name parameters

    Parameter

    Description

    Domain Name

    Enter an ingest domain name or streaming domain name. A domain name can be up to 42 characters long.

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

    NOTE:

    A licensed level-1 domain cannot be directly used as an ingest domain or streaming domain. If your licensed domain is example.com, you can use sub-domains test-push.example.com and test-play.example.com as the ingest domain name and streaming domain name respectively.

    Example: test-push.example.com

    Domain Type

    If you enter an ingest domain name in the Domain Name field, then select Ingest Domain Name for Domain Type.

  4. Click OK.

    A domain name whose Status is Configuring is displayed in the domain name list. If the status changes to Normal, your domain name has been added.

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

    After a streaming domain name is added, you need to associate the streaming domain name with the ingest domain name before using Live. For details, see Associating Domain Names.

Associating Domain Names

After an ingest domain name and streaming domain name are added, you must associate them so that they can take effect.

  1. Log in to the Live console.
  2. In the navigation pane, choose Domains.
  3. Click Settings in the row containing the target streaming domain name. The basic information page is displayed.
  4. In the Ingest Info area, click Associate Ingest Domain Name and select the added ingest domain name.

    Figure 2 Associating domain names

  5. Click OK.

    Then you can view the stream push information in the Ingest Info area.

Configuring CNAME Records

After domain names are added, HUAWEI CLOUD Live assigns a CNAME value to your ingest domain name and streaming domain name, respectively. The CNAME format is *.huaweicloud.com.w.hwcloudlive.com. You need to add this to your domain's DNS records. After CNAME records take effect, all requests for your ingest domain name and streaming domain name are directed to CDN nodes of HUAWEI CLOUD Live for faster content distribution.

You can log in to the Live console and obtain the CNAME values of the ingest domain name and streaming domain name as described in the following figure on the Domains page. For details on how to configure CNAME records, see Configuring CNAME Records.