StartCensorVideoV2
https://rtc-api.zego.im/
Video stream moderation is an interactive extension service of ZEGOCLOUD's real-time audio/video products. Through the video stream moderation API, developers can invoke real-time video moderation to moderate audio and video content, including audio semantics and features (pitch, timbre, voiceprint, melody, etc.) recognition, and text semantics and content recognition in video frames. ZEGOCLOUD will send the recognition results to developers through video stream moderation callback or a configured custom callback URL. The start video stream moderation feature should be used in conjunction with stop video stream moderation.
Before using this API, please refer to Console - Cloud Market - Shumei Content Moderation and follow the on-page instructions to enable the relevant permissions for Shumei Content Moderation.
FAQ
-
What happens if I start audio/video stream moderation API but don't call the stop audio/video stream moderation API?
It will automatically end after pulling an empty stream for about 5 minutes. It is recommended to actively call the API to end moderation when you finish moderating.
-
How do I identify which stream violated the rules in the audio/video stream moderation result callback?
After completing moderation, ShuMei will return multiple callbacks based on 10s audio segment AudioUrls. The current results do not directly expose streamID information, but you can obtain it by extracting information from resultTaskId.
Example (assuming streamID is 0001, you can see that AudioUrl contains streamID 0001):

Request
Query Parameters
Possible values: [StartCensorVideoV2]
API prototype parameters
https://rtc-api.zego.im?Action=StartCensorVideoV2
💡Public parameter. Application ID, assigned by ZEGOCLOUD. Get it from the ZEGOCLOUD Admin Console.
💡Common parameter. A 16-character hexadecimal random string (hex-encoded 8-byte random number). For the generation algorithm, refer to the signature example.
💡Common parameter. Current Unix timestamp in seconds. For the generation algorithm, refer to the signature example. A maximum deviation of 10 minutes is allowed.
💡Common parameter. Signature used to verify the legitimacy of the request. Please refer to the signature mechanism to generate it.
Possible values: [2.0]
Default value: 2.0
💡Public parameter. Signature version number.
- application/json
Responses
- 200
- application/json
