Basic Configuration Item | Description | |
Template Name | | The template name, which can contain letters, digits, underscores (_), and hyphens (-). |
Template Description | | The template description, which can be customized and can contain Chinese and English characters, digits, spaces, underscores (_), and hyphens (-). |
Recording Content | Original stream | The recording video records the original stream by default and retains its original bitrate. Record videos before transcoding, watermarking, and stream mixing. For WebRTC streams, please select other content types, because the audio playback may be not compatible. |
| Watermarked stream | Record videos after they are watermarked according to the specified watermark template. If no watermark template is configured, original streams will be recorded. |
| Transcoded and watermarked stream | Click Transcoded and watermarked stream . You can select an existing transcoding template or click the name of a template to modify its configuration.
Choosing this configuration will automatically initiate transcoding based on the transcoding template ID after push, and recording will proceed. If the transcoding template has been mistakenly deleted, the effect will be the same as recording content as watermarked streams. |
Time zone | | You can select UTC+8 or UTC . When UTC+8 is selected as the timezone, the naming of the recording files will use the UTC+8 time. When UTC is selected as the timezone, the naming of the recording files will use the UTC time. |
Recording Format | | Videos can be output in formats of HLS, MP4, FLV, and AAC (for audio-only recording). |
Basic Recording Format Configuration Item | Description |
HLS File Segmentation | The HLS file segmentation feature is disabled by default. If post-processing services are needed, it is recommended to enable HLS file segmentation and set the duration of individual HLS recording files. If HLS file segmentation is enabled, the duration of individual HLS recording files can be configured, allowing for the definition of the duration of files produced by post-recording processing. If HLS file segmentation is disabled, recording will continue uninterrupted until the live stream ends. If post-recording processing has been configured, it will be initiated after the recording is complete. |
Max Recording Time Per File (min) | Audio/Video - HLS format There is no upper limit on the recording duration of a file in HLS format. If the waiting time for continuation of recording is exceeded, a new recording file will be generated to continue recording. When an HLS recording file is saved to COS, the duration of a single TS file is set to 10 seconds by default. When HLS file segmentation is enabled, the duration of a single HLS recording file can range from 1 to 720 minutes. Audio/Video - FLV format The duration of a single file recorded in FLV format is limited to 1 to 720 minutes. Audio/Video - MP4 format The duration of a single file recorded in MP4 format is limited to 1 to 120 minutes. Audio-only - AAC format The duration of a single file recorded in AAC format is limited to 1 to 120 minutes. |
Resumption Timeout (sec) | The resumption timeout period directly affects the time it takes to generate a recording file. When the interval of stream interruption does not exceed the set resumption timeout period, a single live stream will generate only one file. However, the recording file will be received after the resumption timeout period has elapsed, and recording costs will be incurred during the resumption timeout period. Please set a reasonable resumption timeout period. Only HLS format supports resuming recording after stream interruptions, with the resumption timeout period being configurable from 1 to 1,800 seconds. |
Storage path | You can select a COS bucket from buckets that you have created and completed authorization in Cloud Object Storage . The region is the region of the mentioned bucket, which cannot be modified. |
Backup storage path | The backup storage path feature is disabled by default. You can manually enable this feature according to your business needs. When network jitter prevents the recording file from being stored in the primary storage path, the system will automatically store it in the backup storage path to prevent file loss. Once the primary storage path is restored, the recording file in the backup storage path will be automatically synchronized to the primary storage path. The primary and secondary regions cannot be the same. |
Folder | The default storage folder is {RecordSource}/{Domain}/{AppName}/{StreamID}/{RecordId}/{StartYear}-{StartMonth}-{StartDay}-{StartHour}-{StartMinute}-{StartSecond}. {RecordSource} indicates the content type. If the original stream is recorded, this is "origin". If a transcoded stream is recorded, this is the transcoding template ID.{StartYear} indicates the starting year.{StartMonth} indicates the starting month.{StartDay} indicates the starting day.{StartMinute} indicates the starting minute.{StartSecond} indicates the starting second.{Domain} indicates the push domain.{AppName} indicates the push path.{StreamID} indicates the stream ID.{RecordId} indicates the recording task ID, which is returned by the CreateRecordTask API.(/) indicates folder levels. (-) is an ordinary character. |
Advanced Configuration Item | Description |
Post-Recording Process Configuration | The post-recording MPS feature is disabled by default. You can manually enable this feature based on your business needs. After enabling the post-recording MPS, no post-recording process content is selected by default. You need to manually select the corresponding process content. When HLS, FLV, MP4, and AAC audio and video formats are enabled with post-recording processing, MPS orchestration cannot be empty. After enabling the post-recording MPS, you can use the MPS orchestration to transcode, repackage, and perform a series of other post-processing services on the original recording files. The storage setting for the processed files is determined by the MPS orchestration task settings, while the original recording files are still retained. You can cancel or change the MPS orchestration . You can click to select the bound MPS orchestration and choose an orchestration already created under the MPS orchestration application, or click the orchestration name on the current MPS orchestration selection page to go to the MPS console to add/modify the orchestration configuration. After the orchestration is successfully bound, the MPS template will be executed after the recording file is generated, incurring corresponding Media Processing fees. |
Upload while recording | The upload while recording feature is disabled by default. You can manually enable this feature based on your business needs. Currently, only the FLV format supports the upload while recording feature . Once enabled, it allows immediate upload of files after recording ends, supports a recording file duration of up to 12 hours, and enhances FLV recording's disaster recovery capability. Playback files may experience lag when being dragged for online playback, but this does not affect local playback. |
Was this page helpful?