Build a live streaming system

Updated at:

Build a live streaming system

Live streaming, one of today's most popular media formats, comes with unique technical challenges. Alibaba Cloud provides an all-in-one solution to help you quickly build a reliable live streaming platform with ultra-high definition, ultra-low latency, and massive concurrency support.

Intended customers

Customers in sectors such as e-commerce, entertainment, online education, and enterprise communications.

Background

Challenges of a self-built live streaming system

Building a live streaming system from scratch is complex. It involves architectural design, setting up servers for ingest and streaming, configuring a CDN, handling transcoding, developing players, implementing security measures, and managing monitoring and automated operations. To handle high concurrency, the system must also have an elastic infrastructure to adapt to fluctuating user traffic in real time. Consequently, self-built systems face major challenges in complexity, stability, and security.

High cost and investment

Building your own live centers and delivery networks requires significant hardware investment and high bandwidth costs. This also demands substantial engineering effort for development and maintenance, often with disappointing results.

High barriers and long development cycles

A live streaming system involves a complex technology stack, including distributed storage, distributed computing, video codecs, video encryption, and accelerated CDN delivery. This requires coordinating multiple specialized engineering teams.

Low elasticity and limited concurrency

Live streaming inherently demands high concurrency and experiences sudden traffic bursts. A self-built service often lacks the elasticity to scale resources and meet fluctuating bandwidth demands.

Comparison

Comparison with a self-built live streaming system

Self-built live streaming system

Alibaba Cloud live streaming solution

High investment in physical equipment and high costs

Building your own live streaming center and distribution network requires a large hardware investment and high bandwidth costs. The overall system investment is high, but performance is poor.

Cost

On-demand cloud resources with pay-as-you-go billing

Get started right away without buying hardware or installing software. This solution uses a pay-as-you-go model. It provides features such as elastic scaling, ultra-low latency, and real-time stream processing at a low maintenance cost.

Complex technology built from scratch

Live streaming systems involve multiple technology stacks, such as distributed storage, distributed computing, video encoding and decoding, video encryption, and Content Delivery Network (CDN) distribution. This requires writing large amounts of code and running multiple tests. The labor and time costs are high, and the process is inefficient.

Efficiency

Efficient and flexible solution

Activate the live streaming product to use pre-built capabilities for distributed storage, computing, video encoding, encryption, and CDN distribution. This reduces the launch time to hours and lets you respond quickly to market changes.

Limited concurrency and high latency

Video live streaming traffic often comes in bursts. A self-built service struggles to meet elastic bandwidth demands and cannot support on-demand scaling.

Stability

Elastic scaling and real-time response

The solution supports elastic scaling to expand processing capacity based on real-time user growth. You do not need to worry that insufficient storage or computing resources will affect the viewing experience.

Weak security and inadequate protection

Compared to a cloud service, securing a self-built system is costly and difficult. It often lacks comprehensive security measures, has low data security, and an incomplete content moderation mechanism. This makes it hard to ensure the security of your live streams.

Security

Security protection and data privacy

Security policies such as allowlists and blocklists, URL authentication, video encryption, and end-to-end monitoring ensure the reliability of your live streams and protect your data.

Architecture and deployment

How to implement video live streaming

2861675

Building a complete live streaming system involves configuring domain names, associating ingest and streaming domains, and generating ingest and playback URLs. You then use the provided demos or SDKs to play the stream. You can also add media processing features, such as real-time transcoding, live-to-VOD, live stream review, and Digital Rights Management (DRM).

50 minutes

CNY 20 (This estimate assumes you use the pay-by-traffic billing method, generate no more than 10 TB of traffic, and do not enable other paid services. Fees for domain name registration, certificates, and ICP filing are not included. Your actual cost may vary based on factors such as the region and billing method. The price displayed in the console and on your final bill prevails.)

image

ApsaraVideo LiveAlibaba Cloud DomainsAlibaba Cloud DNS

Application scenarios

Wide application scenarios for the technical solution

image

Gaming and social live streaming

Use content moderation and Narrowband HD™ transcoding to ensure the quality and compliance of live content while reducing bandwidth costs.

image

E-commerce live streaming

Use live-to-VOD and ultra-low latency interactive features to connect online and offline experiences. This helps businesses build new models for digital sales.

image

Online education live streaming

Record and edit courses using the live-to-VOD feature. Combine it with the cloud editing and intelligent production features of Intelligent Media Services (IMS).

image

Enterprise live streaming

Use ultra-low latency interaction, Narrowband HD™, and cloud production to improve the quality and source flexibility of internal live streams. This also effectively reduces bandwidth costs.

Free Trial

Alibaba Cloud offers free trials for cloud products

960803

961530

964455