ApsaraVideo Live provides comprehensive features for you to ingest and play live streams. This topic describes the procedure of ingesting and playing a live stream.
Basic live streaming process
The streamer uses a video capture device to collect the content of a live stream and uses Push SDK to ingest the stream to Alibaba Cloud points of presence (POPs).
ApsaraVideo Live uses edge ingest to ingest the stream to a specific live center of ApsaraVideo Live. The ingested stream is accelerated by POPs, which ensures the stability of the upstream transmission.
ApsaraVideo Live ingests the steam from the live center to POPs.
The viewers use ApsaraVideo Player SDK to watch the ingested stream.
Procedure
No. | Step | Implementation method | Action | API operation | References |
1 | Make preparations | Console | Use the ApsaraVideo Live console. | N/A | N/A |
2 | Add domain names |
| |||
3 | Associate the domain names |
| |||
4 | Configure access control policies |
| |||
5 | Generate URLs | Console | N/A | ||
6 | Ingest the stream | Stream ingest tool |
| N/A | |
7 | Play the stream | Player |
| N/A |
Supported protocols
The Real-Time Messaging Protocol (RTMP), Secure Reliable Transport (SRT), and Alibaba Real-Time Communication (ARTC) protocols are supported for stream ingest. The RTMP, Flash Video (FLV), HTTP Live Streaming (HLS), and ARTC protocols are supported for streaming. The ARTC protocol is used for Real-Time Streaming (RTS).
Differences exist among the RTMP, FLV, HLS, and ARTC (used for RTS) protocols.