Documentation
Server_APIs_v2 Server APIs v2
Documentation
Demo APP
SDK Center
API Center
FAQ
Code Market
Console
Sign Up
Log In
中文站 English
  • Documentation
  • Server APIs v2
  • Streaming moderation
  • Stop moderating audio streams

Stop moderating audio streams

Last updated:2025-01-03 17:00

1 Description

Call this interface to stop audio stream content moderation.

Before using this method for the first time, you need to contact ZEGOCLOUD technical support to activate it.

2 Interface Prototype

  • Request method: POST

    When using POST request method to pass parameters:

    • Parameters in the Body can be passed directly in JsonObject format without serializing to String format.
    • In Headers, set "Content-type" to "application/json".
  • Request endpoint: https://rtc-api.zego.im/?Action=StopCensorAudioV2

  • Protocol: HTTPS

  • Rate limit (all rooms with the same AppID): 100 requests/second

  • 3 Request Parameters

    Listed below are the parameters specific to this request and part of the public request parameters. For the complete list of public request parameters, see Server APIs public request parameters.

    Parameter Type Required Description
    TaskId
    String
    Yes
    Moderation task ID, which can be obtained from the response parameters of Start moderating audio streams task.

    4 Sample Request

    • Request URL

      https://rtc-api.zego.im/?Action=StopCensorAudioV2
      &<Common request parameters>
    • Request body

      {
          "TaskId": "9f58178ba8034902c6028c728bc6f6e4"
      }

    5 Response Parameters

    Parameter Type Description
    Code
    Int32
    Return code.
    Message
    String
    Operation result description.
    RequestId
    String
    Request ID.

    6 Sample Response

    {
        "Code":0,
        "Message":"success",
        "RequestId":"TestRequestId1635941439344723000"
    }

    7 Return Codes

    Listed below are the return codes related to this API. For the complete list of return codes, see Return codes.

    Return Code Description Handling Suggestion
    50006, 50007 HTTP request failed. Please try again later (recommended 300s), or contact ZEGOCLOUD technical support.
    50009 Moderation failed. Please try again later (recommended 300s), or contact ZEGOCLOUD technical support.
    50117 Configuration error, Shumei permission not enabled. Please contact ZEGOCLOUD technical support to enable Shumei related permissions.
    Page Directory
    • Free trial
    • 提交工单
      咨询集成、功能及报价等问题
      电话咨询
      400 1006 604
      Get Consulting
      Scan Wechat QR code