Home / Docs Center / Device API Reference / SettingsPush Stream URL1Switch
SettingsPush Stream URL1Switch
Project: Device API Documentation (New Version) | page_id: 268
Brief Description:
- Enable or disable RTMP streaming address 1
Request URL:
- /xsw/control
Request Method:
- POST
Parameters:
| Parameter | Required | Type | Description |
|---|---|---|---|
| command | Yes | string | Fixed value live_control |
| value | Yes | string | start to enable, stop to disable |
| channel | Yes | int | Channel, starting from 0 |
Request Example

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.