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 of generating signed URLs to quickly generate a signed ingest URL if your ingest domain name is added to the new version of Live.
Prerequisites
- Domain names have been added.
- CNMAE 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
- Log in to the Live console.
- In the navigation pane, choose Domains.
- Click Settings in the row containing the target ingest domain name. On the displayed page, you can view ingest information.
Figure 1 Ingest URL
- You need to customize StreamName to generate an ingest URL. For details, see Original Ingest URL.
- If URL validation is configured, you can add an authentication string to the original ingest URL to generate a new ingest URL. For details, see Signed Ingest URL.
Original Ingest URL
Assembling rule
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.
Example
If the added ingest domain name is test-push.example.com, StreamName is huawei1, and AppName is livetest, then 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.
The signed URL varies depending on whether your ingest domain name is added to the new or old version of Live.
- If your domain name is added to the new version, generate a signed ingest URL by referring to URL Validation (New Version).
- If your domain name is added to the old version, generate a signed ingest URL by referring to URL Validation (Old Version).
Last Article: Stream Configurations
Next Article: Transcoding
Did this article solve your problem?
Thank you for your score!Your feedback would help us improve the website.