Live Video Information Submission API
2019.12.25 21:03:32
API Address
https://as.dun.163yun.com/v2/livevideo/submit
API Description
The video live stream related information submission API will perform screenshot detection on the live stream 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 Interface 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.
Request Parameters
The public parameters have been omitted. See Public Request Parameters
Parameter Name | Type | Required | Maximum Length | Description |
---|---|---|---|---|
url | String | Y | 512 | Live Stream Address |
dataId | String | Y | 128 | Live stream unique identifier |
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 |
---|---|---|
result | Boolean | true means the submission was successful, false means the submission failed |
Request example
Response example
Output result:
{
"code": 200,
"msg": "ok",
"result": true
}