set-enable-surface
Use this interface to set enable status of all overlays for the main stream and sub stream.
HTTP Request
GET http://ip/usapi?method=set-enable-surface&stream-index=1&enable=1
Parameter | Description |
---|---|
method | set-enable-surface |
stream-index | 0: main stream 1: sub stream |
enable | 0: disable 1: enable |
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. |