The content moderation feature captures frames from live streams and automatically detects whether the video content contains violations. The violations are recorded in Object Storage Service (OSS). You can query and handle the violations.
Limits
Only some live centers support the content moderation feature. For more information, see Supported regions.
Configure a moderation template
- Log on to the ApsaraVideo Live console.
- In the left-side navigation pane, click Domains to go to the Domain Management page.
Find the streaming domain that you want to configure and click Domain Settings in the Actions column.
Choose .
Click Add.
Configure the moderation template. You can configure a video moderation template or audio moderation template on the Video Moderation or Audio Moderation tab based on your business requirements.
Video moderation template
The following table describes the parameters for a video moderation template.
Parameter
Description
Application Name
The name of the application. The value of the Application Name parameter must be the same as the application name specified in the ingest URL. Otherwise, the configuration does not take effect. If you want to configure video moderation for all applications under the domain name, enter an asterisk (*).
Scenario
The moderation scenarios. Valid values:
Pornography
Terrorism
Ad Violation
Undesirable Scene
Snapshot Interval
The interval between two consecutive snapshots. Unit: seconds. Valid values: 5 to 3600.
Storage Location
The storage location of snapshots in OSS.
Audio moderation template
The following table describes the parameters for an audio moderation template.
Parameter
Description
Application Name
The name of the application. The value of the Application Name parameter must be the same as the application name specified in the ingest URL. Otherwise, the configuration does not take effect. The application name is case-sensitive.
Stream Name
The name of the stream. The value of the Stream Name parameter must be the same as the stream name specified in the ingest URL. Otherwise, the configuration does not take effect. The stream name is case-sensitive.
Click OK.
Configure a callback URL
Click the edit icon next to Callback URL.
Enter a callback URL in the Callback URL field and click OK.
View the callback information on your callback server. For more information about the callback format and sample callbacks, see Callbacks for automated review.
Search for the identified violations in OSS.
You can search for specific violations in the OSS console based on the moderation callback information.
Search for specific violations based on the application name and stream name.
Search for specific violations based on the stream ingest date.