Help Center> Live> User Guide> Playback Configurations> Configuring Origin Pull Settings

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 center for distribution.

Notes

  • If you have configured that live content is pulled from your own origin server (domain name or IP address) for a streaming domain name, this streaming domain name cannot associate with any ingest domain name, and functions such as transcoding, recording, and snapshot capturing cannot be used.
  • The default origin port number is 80 for HTTP and 1935 for RTMP. If you use a non-default port as the origin port, submit a service ticket to bind the port with your origin server.

Prerequisites

Procedure

  1. Log in to the Live console.
  2. In the navigation pane, choose Domains.
  3. Click Settings in the Operation column of the row containing the target streaming domain name.
  4. In the navigation pane, choose Template Settings > 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 center to pull streams from the origin server. This parameter is used only when Origin Server is not Huawei origin server.

    NOTE:

    Origin pull settings can only be configured for RTMP and HTTP-FLV streams.

    Origin IP Address

    You can configure a maximum of 10 IP addresses.

    This parameter is used only when Origin Server is My origin server (IP address). If multiple IP addresses are configured and an origin pull fails, the system polls origin IP addresses in the configured sequence.

    Origin Domain

    • This parameter is used when Origin Server is My origin server (domain name). You can configure a maximum of 10 origin domains. If multiple origin domains are configured, the system polls the domains in the configured sequence when an origin pull fails.
    • This parameter is optional if Origin Server is My origin server (IP address). You can configure only one origin domain. 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 Parameter

    Parameter contained in the URL for retrieving content from your origin server. This parameter is optional.

    If parameters are set as follows,

    • key: vhost; value: www.example.huawei.com
    • key: cdn_type, value: huawei

    the origin URL format is:

    {{.scheme}}://{{.reqDomain}}:80/{{.reqApp}}/{{.reqStream}}?vhost=www.example.huawei.com&cdn_type=huawei&{{.reqArgs}}

  7. Click OK.