Video on Demand Information Submission API

API Address

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 NameTypeRequiredMaximum LengthDescription
urlStringY512Video on demand Address
dataIdStringY128Video on demand unique identifier
versionStringY4API version, recommeded v3.1
titleStringN512Video name
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
taskIdStringThis request data identifier, you can query the latest results of the data according to the identifier
statusNumberTest results, 0: Success, 1: Failure

Request example

Java code

Python code

PHP code

C# code

js code

Response example

Output result:

    "code": 200,
    "msg": "ok",
    "result": {
        "taskId": "8965560a6c9f34783bdce47e16858458",
        "status": 0
Online Chat Tel:95163223