enable-server
Use this interface to turn on the stream session. By default, the newly added session is disabled.
HTTP Request
GET http://ip/usapi?method=enable-server&id=1&is-use=1
Parameter | Description |
---|---|
method | enable-server |
id | Indicates the server ID, obtaining using get-settings. |
is-use | 0: disable the server. 1: enable the server. |
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. |