Help Center/ Live/ Cloud Live/ Playback/ Configuring Origin Pull
Updated on 2024-09-27 GMT+08:00

Configuring Origin Pull

By default, a streaming domain name created on Huawei Cloud Live pulls live content from Huawei origin servers. If you want to play live content of non-Huawei origin servers through Huawei Cloud, you can configure an origin address on the Live console so that you can pull live content from your own origin server to a Huawei origin server for accelerated delivery.

Notes

  • If you set Origin Server to My origin server (domain name) or My origin server (IP address) for a streaming domain name, livestreams of the ingest domain name associated with this streaming domain name cannot be played, and functions such as transcoding cannot be used.
  • The default origin port number is 80 for HTTP and 1935 for RTMP.
  • For LLL, ensure that there is no B-frame for origin pull.

Prerequisites

Procedure

  1. Log in to the Live console.
  2. In the navigation pane, choose Domains.
  3. Click Manage in the Operation column of the desired streaming domain name.
  4. In the navigation pane, choose Templates > Origin Pull.
  5. View the origin pull configuration.

    Figure 1 Viewing the origin pull configuration

  6. Click Edit to modify the origin pull configuration.

    Figure 2 Configuring origin pull

    Table 1 describes the parameters.

    Table 1 Origin pull parameters

    Parameter

    Description

    Origin Server

    There are three options:
    • Huawei origin server: pulls livestreams from the Huawei origin server by default
    • My origin server (domain name): pulls livestreams from your own origin server. You can configure multiple origin domains.
    • My origin server (IP address): pulls livestreams from your own origin server. You can configure multiple origin IP addresses and one origin domain.

    Origin Protocol

    Protocol used by Live to pull streams from the origin server. This parameter is used only when Origin Server is not Huawei origin server. Only RTMP and HTTP-FLV are supported.

    Origin IP Address

    You can configure a maximum of 10 IP addresses. If an origin pull fails, the system polls origin IP addresses in the configured sequence.

    This parameter is mandatory when Origin Server is set to My origin server (IP address).

    Origin Domain

    Currently, the value can only be a pure domain name, for example, www.example.com.

    • This parameter is mandatory when Origin Server is set to My origin server (domain name).

      A maximum of 10 origin domains can be configured. If multiple origin domains are configured, the system polls the domains in the configured sequence when an origin pull fails.

    • This parameter is optional when Origin Server is set to My origin server (IP address).

      A maximum of one origin domain can be configured. If an origin domain is configured, both the HTTP-FLV HOST header and the RTMP tcurl field are set to the origin domain. If there is no origin domain, HOST is set to the current IP address.

    Origin Port

    Customizable.

    Default values:

    • If Origin Protocol is set to HTTP-FLV, the default value is 80.
    • If Origin Protocol is set to RTMP, the default value is 1935.

    Origin Parameters

    (Optional) When Origin Server is set to My origin server (IP address) or My origin server (domain name), you can specify the additional parameters carried in the origin URL.

    Each key corresponds to one value. You can add multiple pairs. During origin pull, origin parameters are separated using &.

    Example: key1=value1&key2=value2

  7. Click OK.
  8. Assemble a streaming URL for playback.