enable-server
Use this interface to turn on the stream session. By default, the newly added session is disabled.
Allow simultaneous 6 sessions over the same streaming protocol, such as TS over RTP and TS over UDP, SRT Caller and SRT Listener. The following protocol streams allow only one push.
- RTSP
- NDI HX
- HLS
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 | Indicates whether the server is enabled. 0: disable. 1: enabled. | 
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. |