Video on Demand Information Submission API
2019.12.25 21:03:32
API Address
https://as.dun.163yun.com/v3/video/submit
API Description
The video on demand related information submission API will perform screenshot detection on video on demand infromation according to the screenshot frequency set by the customer after the information is submitted. The detection result needs to be called periodically by the product itself video live result acquisition
Support format
The streaming protocols supported by the detection API are as follows: rtp, srtp, rtmp, rtmps, mmsh, mmst, hls, http, tcp, https, and so on.
Size limit
Size limit:<5G.
Request Parameters
The public parameters have been omitted. See Public Request Parameters for details
Parameter Name | Type | Required | Maximum Length | Description |
---|---|---|---|---|
url | String | Y | 512 | Video on demand Address |
dataId | String | Y | 128 | Video on demand unique identifier |
version | String | Y | 4 | API version, recommeded v3.1 |
title | String | N | 512 | Video name |
callback | String | Y | 512 | Data callback parameters, the product is designed according to the business situation, when the offline detection result is obtained, the Neteasetm content security service will return this field |
scFrequency | Number | N | 4 | Screenshot detection frequency, default 5 seconds screenshot detection once, can be set from 0.5 to 60 seconds |
Response Result
The response field is as follows, the response common field has been omitted, see Response General Fields
Parameter Name | Type | Description |
---|---|---|
taskId | String | This request data identifier, you can query the latest results of the data according to the identifier |
status | Number | Test results, 0: Success, 1: Failure |
Request example
Response example
Output result:
{
"code": 200,
"msg": "ok",
"result": {
"taskId": "8965560a6c9f34783bdce47e16858458",
"status": 0
}
}