tencent cloud

Video on Demand

Video Pull from URL Completion

下载
聚焦模式
字号
最后更新时间: 2025-08-13 16:27:20
本文档由 AI 翻译

Event Name

PullComplete

Event Description

If you have configured event notifications for your application, after a video pull and upload task is completed, your application backend will be notified either by a “normal callback” or a “reliable callback”. For the content of the callback, see PullComplete.

Example

Normal callback

In the normal callback mode, your callback URL will receive an HTTP POST request from VOD. The content of the callback is included in the request body, as shown below (fields with null values are omitted):
{
"EventType": "PullComplete",
"PullCompleteEvent": {
"TaskId": "125676836723-Pull-f5ac8127b3b6b85cdc13f237c6005d8",
"Status": "FINISH",
"ErrCode": 0,
"Message": "SUCCESS",
"FileId": "14508071098244959037",
"MediaBasicInfo":{
"Name": "Animal World",
"Description": "",
"CreateTime": "2019-01-09T16:36:22Z",
"UpdateTime": "2019-01-09T16:36:24Z",
"ExpireTime": "9999-12-31T23:59:59Z",
"ClassId": 0,
"ClassName": "Other",
"ClassPath": "Other",
"CoverUrl": "",
"Type": "mp4",
"MediaUrl": "http://125676836723.vod2.myqcloud.com/xxx/xxx/xxx.mp4",
"TagSet": [ ],
"StorageRegion": "ap-chongqing",
"SourceInfo":{
"SourceType": "Upload",
"SourceContext": ""
},
"Vid": ""
},
"FileUrl": "http://125676836723.vod2.myqcloud.com/xxx/xxx/xxx.mp4",
"ProcedureTaskId": "",
"ReviewAudioVideoTaskId":"",
"SessionContext": "",
"SessionId": ""
}
}

Reliable callback

In the reliable callback mode, after calling the PullEvents API, you will receive an HTTP response in the following format (fields with null values are omitted):
{
"Response": {
"EventSet":[
{
"EventHandle": "EventHandleX",
"EventType": "PullComplete",
"PullCompleteEvent": {
"TaskId": "125676836723-Pull-f5ac8127b3b6b85cdc13f237c6005d8",
"Status": "FINISH",
"ErrCode": 0,
"Message": "SUCCESS",
"FileId": "14508071098244959037",
"MediaBasicInfo":{
"Name": "Animal World",
"Description": "",
"CreateTime": "2019-01-09T16:36:22Z",
"UpdateTime": "2019-01-09T16:36:24Z",
"ExpireTime": "9999-12-31T23:59:59Z",
"ClassId": 0,
"ClassName": "Other",
"ClassPath": "Other",
"CoverUrl": "",
"Type": "mp4",
"MediaUrl": "http://125676836723.vod2.myqcloud.com/xxx/xxx/xxx.mp4",
"TagSet": [ ],
"StorageRegion": "ap-chongqing",
"SourceInfo":{
"SourceType": "Upload",
"SourceContext": ""
},
"Vid": ""
},
"FileUrl": "http://125676836723.vod2.myqcloud.com/xxx/xxx/xxx.mp4",
"ProcedureTaskId": "",
"ReviewAudioVideoTaskId":"",
"SessionContext": "",
"SessionId": ""
}
}
]
}
}


帮助和支持

本页内容是否解决了您的问题?

填写满意度调查问卷,共创更好文档体验。

文档反馈