set-auto-rec
added in V1.3
Use the interface to set whether to start auto-recording when a input signal is locked and stop auto-recording when the signal is lost.
HTTP Request
GET http://ip/usapi?method=set-auto-rec&is-auto-rec=1
Parameter | Description |
---|---|
method | set-auto-rec |
is-auto-rec | Indicates whether to enable auto-recording. 0: disabled 1: enabled |
Response Body
{
"result": 0
}
Item | Description |
---|---|
result | 0 indicates that the request was accepted successfully. Refer to API Status Codes to find specific description for other values. |