Live recording

This article is about how to store live streaming content, or live recordings.

Process

The design logic of Alibaba Cloud live recording is to configure the domain name, any live stream of which the push stream address matches the recording rules is recorded and written to the user OSS.

Recording rules

The users’ push stream address is as follows:

rtmp://video-center.alivecdn.com/AppName/StreamName?vhost=a.com

Three parts of this push stream address are managed by the user:domain name (a.com), AppName and StreamName. The user can configure a certain domain name + AppName for recording. After configuration, when the user is pushing the stream, the streams that match this domain name and AppName are recorded.

Example

Configure the domain name as a.com, AppName as live for recording and the following live streams are recorded.

rtmp://video-center.alivecdn.com/>live/StreamName?vhost=a.com

rtmp://video-center.alivecdn.com/live/xyz?vhost=a.com

At the same time you can configure live recording on the ApsaraVideo Live console, see User Guide > Live recording.