ApsaraVideo Live allows you to record live streams. You can store recording files in Object Storage Service (OSS) or ApsaraVideo VOD (VOD). This topic describes how to store recording files in OSS.
Prerequisites
An OSS bucket is created. For more information, see Configure OSS.
Background information
If you want to watch or modify the live stream after live streaming ends, you can use the live recording feature that is provided by ApsaraVideo Live. You must create a recording template before you store recording files in OSS. You can configure parameters in the recording template. The parameters include the storage location, recording cycle, storage format such as M3U8, MP4, or Flash Video (FLV), and whether to enable transcoded stream recording.
Create a recording template
Configure recording callbacks
You can call the AddLiveRecordNotifyConfig operation to configure a recording callback for a domain name. For more information, see AddLiveRecordNotifyConfig.
For more information about the callback methods and parameters, see Manage callbacks.
Disable the recording feature
If you do not need to use the recording feature, you can delete the added recording templates to disable the feature.
If live streaming is in progress when you delete a template, ApsaraVideo Live continues to record based on the template. The deletion takes effect for subsequent ingested streams.
What to do next
You can view and manage recording files that are stored in an OSS bucket. For more information, see Manage recordings.