Polyv Help Center

Help Center

Live Recording Audio Moderation Callback Notification

Updated: 2025-09-11 15:36:10

Purpose

Triggers a result callback notification when abnormal audio content is detected during live recording moderation under an account's channel.

Callback Parameter Description

  • Request Method: POST

URL Parameters

Parameter Type & Range Description
timestamp long 13-digit Unix timestamp
sign string Signature. Generated using MD5(appSecret + timestamp). To prevent callback request forgery, please verify the correctness of the sign value.

BODY Parameters:

Parameter Type Description
userId String Account ID
channelId Integer Channel ID
audioUrl String Audio file URL of the violating live recording. Note: The URL is temporary; please process it promptly.
detail String Summary description of the specific violation reason (may be empty)
violationItems List Specific violation items (may be empty). See Violation Items for details.

Violation Items

Parameter Type Description
violationText String Content of the violating statement
score Integer Moderation score, ranging from [0.00-100.00]. Higher values indicate a higher likelihood of violation.
reason String Reason for the violation
startTime String Start time of the violating audio, format: 00:40:30.660
endTime String End time of the violating audio, format: 00:40:30.660

Callback Data Example


https://xxx.com/callback?timestamp=1753280691000&sign=xxxx

{
    "userId": "xxxxxxxxxx",
    "channelId": 10001,
    "audioUrl": "https://xxx.com/temp.m3u8",
    "detail": "检测到宗教相关内容(《周易》需卦),违反规定,需要告警。",
    "violationItems": [
        {
            "violationText": "需卦内容展示",
            "score": 80.0,
            "reason": "图片中展示了《周易》中的需卦内容,包括卦辞、爻辞和卦象图,涉及宗教或哲学元素,可能被视为宗教相关内容。根据规则,宗教内容需要告警,无论是否敏感。",
            "startTime": "00:00:00.001",
            "endTime": "00:00:10.001",
        }
    ]
}

How to Configure

Configure via the backend:

If the corresponding settings cannot be found, it may be due to insufficient account permissions. For assistance, please contact the online customer service in the bottom right corner.

联系客服,在线咨询