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

Assembling an Ingest URL

After domain names are configured, you can assemble an ingest URL and then push streams through the URL. You can also use the tool to quickly generate a signed URL of the ingest domain name.

Prerequisites

  • Domain names have been added.
  • CNAME records have been added to your domains' DNS records.
  • To secure live resources, Live provides URL validation to encrypt and sign the ingest URL. If necessary, configure URL validation and push streams through the signed URL.

Procedure

  1. Log in to the Live console.
  2. In the navigation pane, choose Domains.
  3. Click Manage in the row containing the target ingest domain name. On the displayed page, you can view ingest information.

    Figure 1 Ingest Info
    • You need to customize StreamName to generate an ingest URL. For details, see Original Ingest URL.
    • If URL validation is configured, you can add a signed string to the original ingest URL to generate a new ingest URL. For details, see Signed Ingest URL.

Original Ingest URL

Assembling rule

Ingest URL format:
rtmp://Ingest domain name/AppName/StreamName
  • Ingest domain name is the one you added on the Live console.
  • AppName: application name. The default value is live. You can customize the application name. Only letters, digits, underscores (_), and hyphens (-) are allowed.
  • StreamName: live stream name. Multiple live streams can be created for each application. You can customize the stream name, for example, huawei1.

Example

If the added ingest domain name is test-push.example.com, AppName is livetest, and StreamName is huawei1, the ingest URL is:

rtmp://test-push.example.com/livetest/huawei1

Signed Ingest URL

If URL validation is configured, you must assemble a signed URL based on obtained authentication information and then push streams through the signed URL. For details, see URL Validation.