Deze pagina is nog niet beschikbaar in uw eigen taal. We werken er hard aan om meer taalversies toe te voegen. Bedankt voor uw steun.
- What's New
- Service Overview
-
Billing
- Billing Items
- Basic Service Billing
- Value-added Service Billing
- Billing Modes
- Changing the Billing Option
- Bills
- Arrears
- Billing Termination
-
Billing FAQs
-
Common Cases
- What Do I Need to Pay?
- Do I Need to Buy the CDN Service Before Using Live?
- How Do I Change the Billing Option?
- Do I Need to Delete Resources If I Don't Want to Use Live Any More?
- How Do I View the Usage and Expenditure of Pay-per-Use Live Resources?
- Is Downstream Traffic or Upstream Traffic Billed?
- Will I Be Billed for URL Validation?
- How Is Transcoding Billed?
- 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?
- Arrears
-
Common Cases
- Cloud Live
-
Media Live
- Overview
- Scenarios
- Functions
- Product Advantages
- Constraints
- Getting Started
-
Console Operations
- Prerequisites
- Functions
- Permissions Management
- Domain Name Management
- Channels
- Live Transcoding
- Service Monitoring
- Cloud Resource Authorization
- Tools
- Best Practices
-
Cloud Live API Reference
- Before You Start
- API Overview
- Calling APIs
- Examples
-
Domain Name Management
- Creating a Domain Name
- Deleting a Domain Name
- Modifying a Domain Name
- Querying a Domain Name
- Mapping Domain Names
- Deleting a Domain Name Mapping
- Configuring the Domain Name IPv6 Function
- Querying IP Address Information
- Modifying the Streaming Domain Name Delay
- Querying the Streaming Domain Name Delay
- Modifying the HLS Configuration of a Domain Name
- Querying HLS Configurations of Domain Names
- Modifying Origin Pull Settings
- Querying Origin Pull Settings
- Notification Management
-
Authentication Management
- Configuring a Referer Validation ACL
- Deleting a Referer Validation ACL
- Querying Referer Validation ACLs
- Querying IP Address ACLs
- Modifying an IP Address ACL
- Generating a Signed URL
- Querying Supported Areas of a Streaming Domain Name
- Modifying Supported Areas of a Streaming Domain Name
- Querying the URL Validation Configuration of a Specified Domain Name
- Modifying the URL Validation Configuration of a Specified Domain Name
- Deleting the URL Validation Configuration of a Specified Domain Name
- Snapshot Management
- Recording Management
- Recording Callback Management
- HTTPS Certificate Management
- OBS Bucket 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
-
Media Live API Reference
- Before You Start
- API Overview
- Calling APIs
- Examples
-
OTT Channel Management
- Creating an OTT Channel
- Querying Channel Information
- Deleting Channel Information
- Modifying Channel Packaging Information
- Modifying Channel Input Stream Information
- Modifying Channel Recording Information
- Modifying General Channel Information
- Changing the Channel Status
- Modifying Channel Transcoding Template Information
- Appendix
- Change History
- Cloud Live Server SDK Reference
- Low Latency Live Client SDK Reference
- Troubleshooting
Live Video Freezing
Symptom
Live video freezes while being played. The entire livestreaming process involves the streaming end, playback end, and origin server in Live (CDN), as shown in Figure 1. All of them may lead to video freezing. Perform the following operations to locate the cause and rectify the fault:
Checking the Streaming End
- Device configurations
Stream push will occupy a certain proportion of CPU resources. If a low-end device with poor hardware configurations is used and its overall CPU usage exceeds 80%, freezing and artifacts will occur, compromising video quality. You can change device configurations or use a higher version of streaming device to ensure device stability.
- Streaming SDK configurations
If the bitrate, frame rate, and encoding level set on the encoder are too high, the encoding speed will be lowered due to hardware constraints. If you use an iOS streaming device, hard coding is recommended because iOS is highly compatible with hardware devices and is more power-saving. If you use an Android streaming device, hard coding is recommended for Android 4.3 or later, as there are too many models and CPU types.
- Video parameter settings
To ensure smooth video playback, the frame rate is set to be greater than 15 frames per second (FPS). If the frame rate is lower than 10 FPS, noticeable freezing occurs. Therefore, a frame rate of 15–30 FPS is recommended. If the frame rate exceeds 30 FPS, human eyes cannot tell the difference and the bandwidth cost for video transmission will rise. A higher frame rate does not necessarily mean better video quality.
- Network bandwidth
Perform an online bandwidth test on the network of the streaming device. The recommended upstream bandwidth is higher than 10 Mbit/s.
- System resource usage
Check whether a large number of programs are running on the server. It yes, delete or stop these programs to release resources.
Checking the Playback End
- Most players have a receive buffer. A player decodes and plays the video after the buffer is full. The size of the receive buffer is also a factor of freezing during playback. You are advised to adjust the size of the receive buffer to avoid video freezing.
- If the player uses hard encoding in a poor network environment, drop frames and reduce audio bitrate to avoid video freezing.
- Perform an online bandwidth test. If the bandwidth of the player is insufficient or jitter occurs, video will freeze. Check whether there is ongoing download. Bandwidth-consuming operations such as download should be avoided during video playback.
- If you use the third-party tool Open Broadcaster Software (OBS) to push streams, perform the following steps to configure parameters:
- Choose Output and set Output Mode to Advanced.
- Set Keyframe Interval (seconds, 0=auto) to 2.
Figure 2 OBS streaming delay settings
Checking the Origin Server (CDN) in Live
If no problems are found on the streaming end and playback end, check whether the origin server and acceleration area are correctly configured.
If no problems are found, submit a service ticket to check whether the origin server or CDN in Live is faulty.
Attach the following information to the service ticket:
- Time when the problem occurs
- Symptom, including the ingest URL, streaming URL, and URLs with failed or slow access
- Information about the faulty node and the returned result diagram of pinging the domain name
- User egress IP address and egress DNS, for example, http://dns-detect-portal.n.cdnhwc5.cn/?domain=xx.xx.xx, and the access screenshots
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.