Standard live streaming FAQ
What is the relationship between edge ingest and live centers?
ApsaraVideo Live provides server-side live stream ingest, distribution, and real-time media processing. The ingest and distribution network (Live Acceleration) uses edge ingest, routing uplink streams to the nearest optimal node based on the broadcast location.
Live centers are deployed in nine locations: Beijing, Shanghai, Shenzhen, Qingdao, Japan, Singapore, Indonesia, and Germany. They provide real-time media services such as recording, snapshots, transcoding, time shifting, Video AI, and the production studio. Before streaming, you must configure a pair of push and playback domains and select a live center for them. The live center determines where real-time media processing occurs, independent of the stream ingest and distribution locations.
How do I choose a live center?
If all streamers and viewers are in mainland China and you do not need real-time media processing (snapshots, recording, or production studio):
The live center region does not affect ingest or distribution. For example, even if you select Shanghai, a streamer in Beijing still ingests through the Beijing edge node. Distribution nodes are scheduled based on viewer locations, independent of the live center.
If you need real-time media processing (snapshots, recording, or production studio):
These services store images and videos in OSS. The OSS bucket must be in the same region as the live center to avoid cross-region latency that affects real-time processing stability. If your storage resources are already in a specific region, select the live center in that region.
If all streamers and viewers are outside mainland China:
Select a live center geographically close to your streamers to minimize push latency.
Edge stream pushing
Alibaba Cloud deploys acceleration nodes in major countries worldwide. With edge stream pushing, video streams go to the nearest edge node first, then transmit to the live center over Alibaba Cloud's optimized network.
Monitor network status in real time
To monitor network conditions, log on to the ApsaraVideo Live console. On the page, click Stream Monitoring to check real-time push status and network conditions. For more information, see Live streams.
You can also retrieve the real-time frame rate and bitrate by API. For more information, see DescribeLiveDomainFrameRateAndBitRateData.
How do I select an acceleration region for a domain?
When creating a domain, select an Acceleration Region. This determines whether to accelerate content delivery within mainland China, outside mainland China, or both. Global Acceleration accelerates content separately within and outside mainland China — it does not accelerate traffic between these regions.
If all streamers and viewers are in mainland China, select a mainland China live center and Mainland China as the acceleration region for your push and playback domains.
If all streamers and viewers are outside mainland China (for example, Singapore), select Singapore as the live center for both domains and Regions Outside Mainland China as the acceleration region.
When choosing an overseas live center, select the region closest to your streamers and viewers. If no live center is available in your region, you can submit a ticket. For more information, see Contact us.
If streamers and viewers are in different regions (some in mainland China, some outside), select Global (includes mainland China and other regions) or Outside Chinese Mainland (excludes mainland China) for the Acceleration Region when you create the playback domain.
NoteDifferent acceleration regions have different unit prices for bandwidth or traffic. You are charged for distribution and acceleration in a region only when viewers in that region request playback. For example, if you select Global but playback occurs only in the Chinese mainland, you are not charged for distribution and acceleration in regions outside the Chinese mainland. For more information about billing rules, see Standard live streaming pricing and the Pricing.
Live center selection scenarios
Streamer Location | Viewer Location | Domain Configuration (Live Center and Playback Acceleration) | Description |
Mainland China | Mainland China |
| None |
Mainland China | Regions Outside Mainland China |
| Streamers are in mainland China, but viewers are in other regions. |
Mainland China | Singapore | Option 1:
Option 2:
| This addresses the need for cross-border streaming (goChina). Routes between Singapore and mainland China are bidirectional. Either the Singapore center or a mainland China center supports streamers in mainland China broadcasting to viewers primarily in Singapore. |
Singapore | Mainland China | Option 1:
Option 2:
| This addresses the need for cross-border streaming (goChina). Routes between Singapore and mainland China are bidirectional. Either the Singapore center or a mainland China center supports streamers in Singapore broadcasting to viewers primarily in mainland China. If you need to accommodate a small number of viewers outside mainland China, you can select Global for the playback domain. |
Mainland China | Mainland China + Regions Outside Mainland China |
| Streamers are in mainland China, and viewers are in both mainland China and other regions. |
Regions Outside Mainland China | Regions Outside Mainland China |
| None |
Regions Outside Mainland China | Mainland China |
| Streamers are outside mainland China and viewers are inside mainland China. Selecting Global for the playback domain also accommodates any potential viewers outside mainland China. |
Why does playback stutter?
Playback lag is often caused by stream push issues. Investigate the following factors if you experience stuttering.
Capture device specifications
Stream pushing consumes CPU resources. On low-end devices, if CPU usage exceeds 80% during streaming, video may stutter or display artifacts, degrading capture quality and viewing experience.
Video capture parameter settings
A frame rate of at least 15 fps is required for smooth playback. Below 10 fps, stutter becomes noticeable. Set the frame rate to 15 fps or higher unless specific requirements dictate otherwise.
The human eye can barely perceive improvements beyond 30 fps, and higher frame rates increase bandwidth costs. Balance smoothness and cost when configuring video parameters.
Network bandwidth
Most stuttering is caused by network issues. Common factors:
Total available bandwidth: Verify that your ISP bandwidth is sufficient for the live stream.
Downstream bandwidth usage: Check if downloads or other activities are consuming your available bandwidth.
System resource consumption: Close unnecessary background applications to free system resources.
Does the ApsaraVideo Live SDK support Linux?
The Queen SDK (beauty effects SDK) and the push SDK do not support Linux. They support only Windows, Android, and iOS. For the exact versions and platforms that each SDK supports, see the download page of the corresponding SDK.
Can I use the SDK to schedule a live stream to start on a specific date?
The live streaming SDK does not directly support scheduling a stream to start on a specific date. You can call the InitializeAutoShowListTask operation to create a scheduled task as an aid, but the logic that controls the actual start time must be implemented in your own business layer.
Is the AlivcPusherPreviewType.base parameter used for stream ingest or playback?
AlivcPusherPreviewType.base applies only to the preview scenario of live stream ingest (Pusher). Playback (the player) uses a separate View component and its own configuration, and does not use this parameter.