tencent cloud

文档反馈

音视频审核完成

最后更新时间:2022-10-13 15:08:47

    事件名称

    ReviewAudioVideoComplete

    事件说明

    当 App 配置了事件通知,并且在音视频审核完成后,App 后台即可通过“普通回调”或“可靠回调”的方式获取该事件通知。事件通知内容为 ReviewAudioVideoTask 结构

    示例

    普通回调

    如果选择普通回调模式,则回调 URL 会接收到来自云点播的 HTTP 请求。请求采用 POST 方法,请求内容在 BODY 中,如下所示(省略了值为 null 的字段)。

    {
      "EventType": "ReviewAudioVideoComplete",
      "ReviewAudioVideoCompleteEvent": {
          "TaskId": "125xxxx-ReviewAudioVideo-07edbc78ba20563cdf2362cffbf4aa0ct",
          "Status": "FINISH",
          "ErrCodeExt": "",
          "Message": "SUCCESS",
          "Input": {
              "FileId": "387702130626135215"
          },
          "Output": {
              "Suggestion": "block",
              "Label": "porn",
              "Form": "Image",
              "SegmentSet": [
                  {
                      "StartTimeOffset": 0,
                      "EndTimeOffset": 1,
                      "Confidence": 99,
                      "Suggestion": "block",
                      "Label": "Porn",
                      "SubLabel": "porn",
                      "Form": "Image",
                      "AreaCoordSet": [],
                      "Text": "",
                      "KeywordSet": []
                  },
                  {
                      "StartTimeOffset": 1,
                      "EndTimeOffset": 2,
                      "Confidence": 99,
                      "Suggestion": "block",
                      "Label": "Porn",
                      "SubLabel": "porn",
                      "Form": "Image",
                      "AreaCoordSet": [],
                      "Text": "",
                      "KeywordSet": []
                  },
                  {
                      "StartTimeOffset": 2,
                      "EndTimeOffset": 3,
                      "Confidence": 99,
                      "Suggestion": "block",
                      "Label": "Porn",
                      "SubLabel": "porn",
                      "Form": "Image",
                      "AreaCoordSet": [],
                      "Text": "",
                      "KeywordSet": []
                  },
                  {
                      "StartTimeOffset": 3,
                      "EndTimeOffset": 4,
                      "Confidence": 99,
                      "Suggestion": "block",
                      "Label": "Porn",
                      "SubLabel": "porn",
                      "Form": "Image",
                      "AreaCoordSet": [],
                      "Text": "",
                      "KeywordSet": []
                  },
                  {
                      "StartTimeOffset": 4,
                      "EndTimeOffset": 5,
                      "Confidence": 99,
                      "Suggestion": "block",
                      "Label": "Porn",
                      "SubLabel": "porn",
                      "Form": "Image",
                      "AreaCoordSet": [],
                      "Text": "",
                      "KeywordSet": []
                  },
                  {
                      "StartTimeOffset": 5,
                      "EndTimeOffset": 6,
                      "Confidence": 99,
                      "Suggestion": "block",
                      "Label": "Porn",
                      "SubLabel": "porn",
                      "Form": "Image",
                      "AreaCoordSet": [],
                      "Text": "",
                      "KeywordSet": []
                  },
                  {
                      "StartTimeOffset": 6,
                      "EndTimeOffset": 7,
                      "Confidence": 99,
                      "Suggestion": "block",
                      "Label": "Porn",
                      "SubLabel": "porn",
                      "Form": "Image",
                      "AreaCoordSet": [],
                      "Text": "",
                      "KeywordSet": []
                  },
                  {
                      "StartTimeOffset": 7,
                      "EndTimeOffset": 8,
                      "Confidence": 99,
                      "Suggestion": "block",
                      "Label": "Porn",
                      "SubLabel": "porn",
                      "Form": "Image",
                      "AreaCoordSet": [],
                      "Text": "",
                      "KeywordSet": []
                  },
                  {
                      "StartTimeOffset": 8,
                      "EndTimeOffset": 9,
                      "Confidence": 99,
                      "Suggestion": "block",
                      "Label": "Porn",
                      "SubLabel": "porn",
                      "Form": "Image",
                      "AreaCoordSet": [],
                      "Text": "",
                      "KeywordSet": []
                  },
                  {
                      "StartTimeOffset": 9,
                      "EndTimeOffset": 10,
                      "Confidence": 99,
                      "Suggestion": "block",
                      "Label": "Porn",
                      "SubLabel": "porn",
                      "Form": "Image",
                      "AreaCoordSet": [],
                      "Text": "",
                      "KeywordSet": []
                  }
              ],
              "SegmentSetFileUrl": "http://251000800.vod2.myqcloud.com/a8800b40vodtranssgp251000800/0f9bd2b0-34a8-4642-f481-001894d93019.txt",
              "SegmentSetFileUrlExpireTime": "2022-10-12T07:01:07.695Z"
          },
          "SessionContext": "",
          "SessionId": ""
      }
    }
    

    可靠回调

    如果选择可靠回调模式,调用 拉取事件通知 API 会接收到如下形式的 HTTP 应答(省略了值为 null 的字段)。

    {
      "Response": {
          "EventSet": [
              {
                  "EventHandle": "EventHandle.N",
                  "EventType": "ReviewAudioVideoComplete",
                  "ReviewAudioVideoCompleteEvent": {
                      "TaskId": "125xxxx-ReviewAudioVideo-07edbc78ba20563cdf2362cffbf4aa0ct",
                      "Status": "FINISH",
                      "ErrCodeExt": "",
                      "Message": "SUCCESS",
                      "Input": {
                          "FileId": "387702130626135215"
                      },
                      "Output": {
                          "Suggestion": "block",
                          "Label": "porn",
                          "Form": "Image",
                          "SegmentSet": [
                              {
                                  "StartTimeOffset": 0,
                                  "EndTimeOffset": 1,
                                  "Confidence": 99,
                                  "Suggestion": "block",
                                  "Label": "Porn",
                                  "SubLabel": "porn",
                                  "Form": "Image",
                                  "AreaCoordSet": [],
                                  "Text": "",
                                  "KeywordSet": []
                              },
                              {
                                  "StartTimeOffset": 1,
                                  "EndTimeOffset": 2,
                                  "Confidence": 99,
                                  "Suggestion": "block",
                                  "Label": "Porn",
                                  "SubLabel": "porn",
                                  "Form": "Image",
                                  "AreaCoordSet": [],
                                  "Text": "",
                                  "KeywordSet": []
                              },
                              {
                                  "StartTimeOffset": 2,
                                  "EndTimeOffset": 3,
                                  "Confidence": 99,
                                  "Suggestion": "block",
                                  "Label": "Porn",
                                  "SubLabel": "porn",
                                  "Form": "Image",
                                  "AreaCoordSet": [],
                                  "Text": "",
                                  "KeywordSet": []
                              },
                              {
                                  "StartTimeOffset": 3,
                                  "EndTimeOffset": 4,
                                  "Confidence": 99,
                                  "Suggestion": "block",
                                  "Label": "Porn",
                                  "SubLabel": "porn",
                                  "Form": "Image",
                                  "AreaCoordSet": [],
                                  "Text": "",
                                  "KeywordSet": []
                              },
                              {
                                  "StartTimeOffset": 4,
                                  "EndTimeOffset": 5,
                                  "Confidence": 99,
                                  "Suggestion": "block",
                                  "Label": "Porn",
                                  "SubLabel": "porn",
                                  "Form": "Image",
                                  "AreaCoordSet": [],
                                  "Text": "",
                                  "KeywordSet": []
                              },
                              {
                                  "StartTimeOffset": 5,
                                  "EndTimeOffset": 6,
                                  "Confidence": 99,
                                  "Suggestion": "block",
                                  "Label": "Porn",
                                  "SubLabel": "porn",
                                  "Form": "Image",
                                  "AreaCoordSet": [],
                                  "Text": "",
                                  "KeywordSet": []
                              },
                              {
                                  "StartTimeOffset": 6,
                                  "EndTimeOffset": 7,
                                  "Confidence": 99,
                                  "Suggestion": "block",
                                  "Label": "Porn",
                                  "SubLabel": "porn",
                                  "Form": "Image",
                                  "AreaCoordSet": [],
                                  "Text": "",
                                  "KeywordSet": []
                              },
                              {
                                  "StartTimeOffset": 7,
                                  "EndTimeOffset": 8,
                                  "Confidence": 99,
                                  "Suggestion": "block",
                                  "Label": "Porn",
                                  "SubLabel": "porn",
                                  "Form": "Image",
                                  "AreaCoordSet": [],
                                  "Text": "",
                                  "KeywordSet": []
                              },
                              {
                                  "StartTimeOffset": 8,
                                  "EndTimeOffset": 9,
                                  "Confidence": 99,
                                  "Suggestion": "block",
                                  "Label": "Porn",
                                  "SubLabel": "porn",
                                  "Form": "Image",
                                  "AreaCoordSet": [],
                                  "Text": "",
                                  "KeywordSet": []
                              },
                              {
                                  "StartTimeOffset": 9,
                                  "EndTimeOffset": 10,
                                  "Confidence": 99,
                                  "Suggestion": "block",
                                  "Label": "Porn",
                                  "SubLabel": "porn",
                                  "Form": "Image",
                                  "AreaCoordSet": [],
                                  "Text": "",
                                  "KeywordSet": []
                              }
                          ],
                          "SegmentSetFileUrl": "http://251000800.vod2.myqcloud.com/a8800b40vodtranssgp251000800/0f9bd2b0-34a8-4642-f481-001894d93019.txt",
                          "SegmentSetFileUrlExpireTime": "2022-10-12T07:01:07.695Z"
                      },
                      "SessionContext": "",
                      "SessionId": ""
                  }
              }
          ],
          "RequestId": "335bdaa3-db0e-46ce-9946-51941d9cb0f5"
      }
    }
    
    联系我们

    联系我们,为您的业务提供专属服务。

    技术支持

    如果你想寻求进一步的帮助,通过工单与我们进行联络。我们提供7x24的工单服务。

    7x24 电话支持