1.request Json example of creating task
Field | Explain | Type | Mandatory |
type | task type,1-task type of compliling | int | true |
uuid | Universally Unique Identifier,task id | String | true |
data | detail information of task | object | true |
callbackHost | host of callbacking | String | true |
url | url of xml | String | true |
2.request Json example of callbacking task
callbacking of composing
Field | Explain | Type |
type | type of task,0-type of transcoding | int |
uuid | Universally Unique Identifier,task id | String |
data | detail information after task transcoding | Object |
code | result code of task 0-success,others-failed | int |
message | result information of task | String |
duration | duration time of video,in millisecond | long |
width | width of video | long |
height | height of video | long |
url | url of video | String |