Home / Docs Center / Device API Reference / SettingsPull StreamEnable/DisableClose(Channel Switch)
SettingsPull StreamEnable/DisableClose(Channel Switch)
Project: Device API Documentation (New Version) | page_id: 266
Brief Description:
- Enable or disable pull streaming, corresponding to the channel switch on the UI.
Request URL:
- /xsw/control
Request Method:
- POST
Parameters:
| Parameter | Required | Type | Description |
|---|---|---|---|
| command | Yes | string | Fixed value rtsp_enable_control |
| value | Yes | string | start to enable, stop to disable |
| channel | Yes | int | Channel, starting from 0 |
Response Example
{"code":0,"msg":""}
Response Parameter Description
| Parameter | Type | Description |
|---|---|---|
| code | int | 0 success, others failure |
| msg | string | Error message |
Notes
- None
Didn't find what you need?Contact us,Talk to our engineers directly.