enable-rec-channel
Use this interface to enable a record channel and start a recording task. 2 channels are supported.
HTTP Request
GET http://ip/usapi?method=enable-rec-channel&id=1&is-use=1
Parameter | Description |
---|---|
method | enable-rec-channel |
id | Record channel ID which can be obtained via get-rec-channels. |
is-use | 0: disable a record channel. 1: enable a record channel. |
Response Body
{
"result": 0
}
Item | Description |
---|---|
result | Returned status. 0 indicates that the request was accepted successfully. Refer to API Status Codes to find specific description for other values. |