Home / Docs Center / Device API Reference / Recording Switch (Legacy Firmware)
Recording Switch (Legacy Firmware)
Project: Device API Documentation (New) | page_id: 363
Brief Description:
- Enable or disable recording. (Use when the version shown in the upper right corner of the page is lower than v1.29.1026)
Request URL:
- /xsw/control
Request Method:
- POST,GET
Parameters:
| Parameter | Required | Type | Description |
|---|---|---|---|
| command | Yes | string | Fixed value live_control |
| value | Yes | string | start to enable, stop to disable |
| channel | Yes | int | Total number of channels + current channel index |
Response Example
{"code":0,"msg":""}
Response Parameter Description
| Parameter | Type | Description |
|---|---|---|
| code | int | 0 means success, others mean failure |
| msg | string | Error information |
Notes
- None
Didn't find what you need?Contact us,Talk to our engineers directly.