媒资AI审核完成
更新时间:2024-11-25
事件类型名称
MEDIA_REGULATION_COMPLETE
事件说明
当用户开启了该类型事件通知,并且在VOD内媒资AI审核处理完成后,VOD将会发送该事件回调到用户指定的地址。事件回调的具体内容为MediaRegulationCompleteEvent 结构。
回调示例
VOD通过HTTP请求发送事件回调,请求采用POST方法,请求内容在BODY中,回调的数据结构为CallbackEvent,如下所示(省略了值为 null 的字段)。
{
"eventId": "evt-ekmvwgbnqycas5bj",
"eventType": "MEDIA_REGULATION_COMPLETE",
"eventTime": "2024-11-12T11:59:38Z",
"mediaRegulationCompleteEvent": {
"taskId": "tsk-ekmv2v0z45mctj3m",
"status": "SUCCESS",
"createTime": "2024-11-12T11:59:20Z",
"finishTime": "2024-11-12T11:59:36Z",
"beginProcessTime": "2024-11-12T11:59:32Z",
"regulationTaskInfo": {
"mediaId": "mda-ekkvjzykbhg19fyz",
"regulationInput": {
"presetId": "eiymw6v6r2ryuabu114g"
},
"regulationOutput": {
"id": "eiymw6v6r2ryuabu114g",
"results": [
{
"type": "sexual_porn",
"items": [
{
"subType": "behavior",
"target": "audio",
"startTimeInSeconds": 0,
"confidence": 68,
"label": "REVIEW"
}
]
},
{
"type": "ad_brand",
"items": [
{
"confidence": 99.66,
"evidence": {
"location": {
"heightInPixel": 15,
"leftOffsetInPixel": 386,
"topOffsetInPixel": 111,
"widthInPixel": 35
},
"thumbnail": "http://path.to.thumbnail.jpg"
},
"extra": "美孚",
"label": "REJECT",
"subType": "brand",
"target": "thumbnail",
"timeInSeconds": 845
},
{
"confidence": 90.06,
"evidence": {
"location": {
"heightInPixel": 24,
"leftOffsetInPixel": 451,
"topOffsetInPixel": 132,
"widthInPixel": 103
},
"thumbnail": "http://path.to.thumbnail.jpg"
},
"extra": "诺优能",
"label": "REVIEW",
"subType": "brand",
"target": "thumbnail",
"timeInSeconds": 219
}
]
}
]
}
}
}
}