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 automated review feature. For more information, see Supported regions.
Configure a moderation template
- Log on to the ApsaraVideo Live console.
In the left-side navigation pane, choose Feature Management > Content Moderation. The Content Moderation page appears.
Select the streaming domain that you want to configure. Click the Video Moderation or Audio Moderation tab.
Click Add to configure a moderation template.
Video moderation template
The following table describes the parameters for a video moderation template.
Parameter
Description
AppName
The name of the application. The value of the AppName 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
AppName
The name of the application. The value of the AppName 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.
StreamName
The name of the stream. The value of the StreamName 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
On the Video Moderation or Audio Moderation tab, 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.
Use the feature
For more information about how to use the content moderation feature, see the Content moderation topic under Developer guide.