Live Video Information Submission API

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 NameTypeRequiredMaximum LengthDescription
urlStringY512Live Stream Address
dataIdStringY128Live stream unique identifier
callbackStringY512Data 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
scFrequencyNumberN4Screenshot 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 NameTypeDescription
resultBooleantrue means the submission was successful, false means the submission failed

Request example

Java code

Python code

PHP code

C# code

js code

Response example

Output result:

{
    "code": 200,
    "msg": "ok",
    "result": true
}
Online Chat Tel:95163223