Set

Function

This API is used to set parameter for Network>Rtsp.

Request Message

Parameter Description

Table 1
ParameterRangeTypeDescription
rtsp_enablebool
rtsp_check_flagbool
anonymous_loginboolNo user name or password is required
ipeye_enablebool
rtsp_urlstring
metadata_platform"None",
"General",
"Milestone"
stringStreaming data platform

Sample:

POST /API/NetworkConfig/Rtsp/Set HTTP/1.1

note:(DVR/NVR Not Supported)

{
    "version": "1.0",
    "data": {
        "rtsp_enable": true,
        "rtsp_check_flag": true,
        "anonymous_login": false,
        "rtsp_url": "rtsp://IP:RtspPort/ch01/A",
        "ipeye_enable": true,
        "metadata_platform": "None"
    }
}

Response Message

None

Sample:

HTTP/1.1 200 OK
Content-Type: application/json
{
    "result":"success",
    "data":{}
}

Error Code

See Response Messages Body and Common error_code for more information.