Live Remuxing and Transcoding

Last updated: 2021-09-18 16:38:10

    This document describes how to store screenshots or porn detection data in a COS bucket. You need to create a COS bucket, authorize CSS to store data in it, and then configure live screencapture and porn detection settings in the CSS console. After that, screenshots and porn detection data can be stored in the bucket. This feature is available in the new console.

    Creating a COS Bucket

    1. Log in to the COS console, and then click Bucket List.
    2. Click Create Bucket, configure settings in the pop-up, and then click OK.

      • The bucket name above is test (excluding -125****577).
      • You can configure above settings based on your needs.
    3. You can enable CDN acceleration for the COS bucket. Click a bucket name in the list or click Configure, select Domains and Transfer > Default CDN Acceleration Domain on the left sidebar, click Edit, then toggle Status on and configure settings below. After the configuration, click Save to enable CDN acceleration. For detailed directions, see Enabling Default CDN Acceleration Domain Names.

    Authorizing CSS to Store Screenshots

    1. Grant write permission for storing screenshots to the root account (ID: -125****577).

      1. Select an authorized bucket in the Bucket List, and click Configure to go to the bucket configuration page. Click Permission Management > Bucket ACL(Access Control List). Click Add User, select Root account as the user type, enter the root account ID -125****577, and then click Save.

        Alternatively, you can click Manage Permissions on the Bucket List page, and select the buckets to authorize. Toggle Public Permissions and User ACL on, and then add a user. Select Root account as the user type, enter the root account ID -125****577, and then click Save.


        Enter the root account ID 125****577 to authorize. This ID is also the APPID of CSS.

      2. For more information on the API to set the bucket access permission, please see PUT Bucket acl.

    2. Get the information of the authorized COS bucket.

      1. You can go to the Overview page of a COS bucket to view its information. Endpoint on this page contains bucket name, COS APPID, and bucket region.

        • Bucket name:test
        • COS APPID:125****577
        • Bucket region:ap-nanjing
      2. After you configure the above 3 fields, the system will store CSS screenshots in the authorized COS bucket.