LVB supports recording live streams and storing recording files in VOD for download and preview. This document describes how to create, modify, and delete recording templates.
You can create a recording template in the following two methods:
Log in to the LVB Console and go to Feature Template > Recording Configuration.
Click + to set basic information and configure as follows:
|Configuration Item||Configuration Description|
|Default template||Default template type for LVB recording, which can be FLV, MP4, or HLS.|
|Template name||Custom LVB recording template name, which can contain letters, digits, _, and -.|
|Template description||Custom LVB recording template description, which can contain letters, digits, _, and -.|
|Recording file type||Videos are recorded based on the original bitrate of the live stream and can be output in .hls, .mp4, .flv, and .aac formats. The .aac format records the audio only.|
|Length of a single recording file (in minutes)||
|File retention duration (in days)||A single recording file can be retained for up to 1,080 days. A retention period of 0 means "never expire".|
|Recording resumption timeout period (in seconds)||Only the .hls format supports recording resumption after push interruption, and the timeout period for resumption can be set between 0 and 1,800 seconds.|
|Recording to subapplication||Live streams can be recorded to a specified subapplication in VOD. They are recorded to the primary application under the account by default. Only writable subapplications are supported.|
The recording templates are managed at the domain name level in the console, and rules created by APIs cannot be canceled there for the time being. If you associated the recording configuration with a specified stream through the recording management API and want to unassociate them, you need to call the DeleteLiveRecordTemplate API.
For detailed directions, please see Recording Configuration.