All Documents
LiveLive
- What's New
- Function Overview
- Service Overview
- Getting Started
- User Guide
- Best Practices
-
API Reference
- Before You Start
- API Overview
- Calling APIs
- Examples
- Domain Name Management
- Log Management
- Recording Management
- Recording Callback Management
- Transcoding Template Management
- Stream Management
-
Statistics Analysis
- Querying Peak Bandwidth
- Querying Total Traffic
- Querying HTTP Status Codes for Pulling Live Streams
- Querying the Duration of Transcoded Outputs
- Querying Recording Channels
- Querying the Number of Snapshots
- Querying Upstream Bandwidth
- Querying the Number of Stream Channels
- Querying the Historical Stream List
- Querying the Playback Profile
- Querying the Distribution of Live Streaming Metrics by Region
- Stream Analytics
- Appendix
- Change History
- SDK Reference
-
FAQs
- Product Consulting
-
Billing
- What Do I Need to Pay?
- How Do I View the Usage and Expenditure of Pay-per-Use Live Resources?
- How Do I Change the Billing Option?
- Do I Need to Delete Resources If I Don't Want to Use Live Any More?
- Is Downstream Traffic or Upstream Traffic Billed?
- Why Charges Are Still Debited to My Account Even Though My Account Is in Arrears?
- How Do I Estimate the Traffic Consumption?
- Will I Be Billed for URL Validation?
- How Is Transcoding Billed?
- How Do I Know Whether My Account Is in Arrears?
- Does the Daily Peak Bandwidth Mean the Upstream Bandwidth or Downstream Bandwidth?
- Why Is a Recording Fee Deducted on the First Day of Each Month?
-
Domain Name Management
- How Many Domain Names Can I Add?
- Are There Any Requirements for the Streaming and Ingest Domain Names?
- What Does CNAME Mean on the Domains Page?
- What Can I Do If a Message Is Displayed Indicating that the Domain Name Fails to Be Added and the User Is in the Deleted State?
- Why Does the Domain Status Change from Normal to Configuring?
- A Conflict Occurs When Adding a CNAME Record
- Can the Ingest and Streaming Domain Names Be Level-2 Domain Names?
- Can a Domain Name Be Added to Live in Multiple Regions?
- How Do I Check Whether Acceleration Has Been Enabled for a Live Domain Name?
- Will My Domain Names Be Cleared If My Account Is in Arrears?
- How Long Should I Disconnect a Stream for the New Streaming Configuration to Take Effect?
-
Recording
- Can Live Recordings Be Stored in OBS?
- How Long Is the Maximum Recording Length?
- Can I Configure a Recording Template for Each Live Stream?
- Are Transcoded Streams Recorded During Live Recording?
- How Long Is the TS Segment Length Supported by Live?
- How Many Recordings Are Created for a Live Recording Task?
- Why Still Are Recording Files Created Even Though I Have Already Deleted the Recording Template?
- Why Are There Two Recording Files When A Live Stream Is Not Interrupted?
- How Do I Obtain the URL of Recordings?
- Can I Call an API to Record a Live Video?
- Why Are No Recording Files Created After I Configured a Recording to OBS Template?
- Can I Enter Wildcard Characters in Stream Name When I Configure Recording to OBS?
- How Do I Delete a Recording?
- Can Live Stream Recording Be Started and Stopped at Any Time?
- Why Didn't I Receive a RECORD_FILE_COMPLETE Callback?
- Do StreamNames Support Regular Expressions?
- Why Can't I Download Videos Using the download_url Generated During Recording?
- Why Do the Modified Recording Rule and File Storage Path Not Take Effect?
- Can I Record and Store the Live Streams That Are Disconnected for Multiple Times in One File?
-
Transcoding
- How Do I Play a Transcoded Live Video?
- Why Is the Live Video Resolution During Playback Inconsistent with That Configured In the Transcoding Template?
- How Does the System Define the Effective Template If I Configure Multiple Transcoding Templates?
- How Is a Video Transcoded When Only the Width or Height Is Configured?
- Why Is the BANDWIDTH Value in a Level-1 M3U8 File for Pulling a Transcoded Stream Not the Bitrate of the Transcoded Stream?
- How Do I Configure Definitions of Video Streams?
- Snapshot Capturing
-
Security
- How Do I Protect Live Videos?
- Are There Any Requirements for the Key and Timeout Interval in URL Validation?
- Why Does Referer Validation Not Take Effect?
- Do I Need to Use the Same Key for Streaming Authentication and Playback Authentication?
- How Do I Set the Validity Period of a Signed Ingest URL to a Longer Period?
- Why Does HTTPS Access Fail When an HTTPS Certificate Has Been Configured for My Domain Name?
- Why Are Messages Indicating Insecurity Displayed During Video Playback After an HTTPS Certificate Is Configured?
-
Streams Pushing
- How Do I Get the Ingest URL?
- Are There Any Requirements for StreamName in an Ingest URL?
- Which Ingest Protocols Are Supported?
- How Do I Live Stream?
- How Do I Set the Resolution and Bitrate?
- What Do I Do If Stream Pushing Failed?
- Which Input and Output Formats Does Live Support?
- How Many Live Streams Can I Push Simultaneously?
- How Long Is the Latency If a Live Video Resolution is 1080p?
- What Can I Do If I Use OBS to Push Streams but the Latency Is Too High?
- Why Does Open Broadcaster Software Fail to Push Streams?
- How Do I Disable a Live Stream?
- How Do I View Disabled Live Streams?
- How Do I Resume a Disabled Live Stream?
- What Are the Differences Between Stream Disabled and Stream Interrupted?
- How Do I Obtain a StreamName?
-
Live Streaming
- Which Streaming Protocols Are Supported?
- How Do I Get the Streaming URL?
- Are There Any Requirements for StreamName in a Streaming URL?
- What Can I Do If I Fail to Play a Live Video?
- Is There Any Limit on the Daily Downstream Traffic?
- Is There Any Limit on the Number of Concurrent Viewers?
- Can I Pull Live Streams from Other Platforms to HUAWEI CLOUD Live?
- Why Do Black Bars Appear on the Video?
- Why Does Playback Using the HTTPS Address Fail?
- Callback
-
API Usage
- What Is the Token for Calling Live APIs?
- Why Does the System Display a Message Indicating that the API Does Not Exist When I Call an API?
- Why Is "projectId in token is nil" Returned When I Call an API?
- Why Is "The token must be updated" Returned When I Call an API?
- Why Is a Message Stating "APIG.0301" Displayed When a VOD API Is Called?
- How Can I Query the Peak Number of Concurrent Recording Channels in a Month?
- Why Do I Receive Only the Recording Completion Callback But Not the Recording Start Callback After Configuring Recording Callbacks?
- Statistics Analysis
- Third-Party Tools
- Troubleshooting
Configuring CNAME Records
After a domain name is added, the system automatically assigns a CNAME value to the domain name. You need to add the CNAME record to your domain's DNS records. Acceleration is enabled once the configuration takes effect.
Notes
- If your domain name is registered on the HUAWEI CLOUD Domain Registration Service, configure the CNAME record by referring to the following procedure.
- If your domain name is registered with a third-party domain registrar, create a public zone and add the domain name to the Domain Name Service (DNS) service. Then, follow the procedure to configure the CNAME record. You can also configure the CNAME record at your own DNS provider by following the configuration guide provided by your DNS provider.
- Configure CNAME records for the ingest domain name and streaming domain name separately.
Procedure
The following uses a streaming domain name as an example. The procedure for configuring the CNAME record for an ingest domain name is the same.
- Obtain the CNAME value.
- Log in to the Live console. In the navigation pane, choose Domains.
- Click Settings in the row containing the target streaming domain name. The basic information page is displayed.
Obtain the CNAME value of the streaming domain name.
Figure 1 Streaming InfoUse play-test.example.com as an example. Its CNAME value is play-test.example.com.c.cdnhwc3.com.
- Log in to the DNS console.
- In the navigation pane, choose DNS Resolution > Public Zones. The public zone list is displayed.
- Click the target domain name in the Name column.
Use the domain name example.com as an example. Locate the row containing example.com.
Figure 2 Domain name list - In the upper right corner of the page, click Add Record Set.Figure 3 Adding a record setConfigure the parameters as instructed. Table 1 describes the parameters.
Table 1 Parameter description Parameter
Description
Example Value
Name
Enter the level-2 domain name. You do not need to enter the suffix.
For example, if the streaming domain name is play-test.example.com, enter play-test.
Type
Type of the record set, which should be CNAME-Canonical name here
CNAME-Map one domain to another
Alias
Whether to associate the record set with a cloud resource name
- Yes: Associate the record set with a cloud resource. For details, see Record Set.
- No: Do not associate the record set with a cloud resource.
No
Line
Resolution line. The DNS server will return the IP address of the specified line based on the source of visitors. For details, see Resolution Line.
The default value is Default.
This parameter is supported only for public domain names.
Default
TTL (s)
Cache duration of the record set (unit: s)
The smaller the value is, the quicker the record takes effective.
The default value is 5 min. If there are no special requirements, retain the default value.
Value
Domain name to be pointed to, that is, the CNAME obtained in step 1
For example, if the streaming domain name is play-test.example.com, enter play-test.example.com.c.cdnhwc3.com.
Weight
(Optional) Weight of a record set. When multiple record sets of the same name and line are created in a zone, the one with a larger weight takes effect in priority. The default value is 1.
This parameter is supported only for public domain names.
The value ranges from 0 to 100.
1
Tags
(Optional) This item is displayed when you switch on Other Settings. This parameter indicates the identifier of a resource. Each tag contains a key and a value. You can add a maximum of 10 tags to a record set.
example_key1
example_value1
Description
(Optional) This item is displayed when you switch on Other Settings. This parameter indicates the description of a domain name.
The description can contain a maximum of 255 characters.
-
- Click OK.
The record set you added is displayed in the list. If the status of the record set is Normal, the record set has been added.
- Perform step 1 to step 6 to configure the CNAME for the ingest domain name.
Verifying that the CNAME Has Taken Effect
Open the command line interface that comes with Windows and run the following command:
nslookup -qt=cname Acceleration domain name
