Help Center> Live> Cloud Live> Playback Configurations> Configuring Origin Pull Settings
Updated on 2024-04-17 GMT+08:00

Configuring Origin Pull Settings

By default, live content is pulled from Huawei origin servers. If you want to play live content on non-Huawei origin servers through Huawei Cloud, you can configure an origin address so that you can pull live content from your own origin server to the Live 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.

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 Template > Origin Pull.
  5. View current origin pull settings.

    Figure 1 Viewing origin pull settings

  6. Click Modify to modify origin pull settings.

    Figure 2 Configuring origin pull settings

    Table 1 describes the parameters.

    Table 1 Origin pull parameters

    Parameter

    Description

    Origin Server

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

    Origin Protocol

    Protocol used by the Live node 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 My origin server (IP address).

    Domain Name

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

    • This parameter is mandatory when Origin Server is 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 My origin server (IP address).

      A maximum of one origin domain can be configured. If an origin domain is configured, the HTTP-FLV HOST header is set to the origin domain, and the RTMP tcurl field is set to the origin domain. Otherwise, the current IP address is used as the host.

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