enable-server

Use the interface to enable the added stream server where you want to post your live broadcast to. By default, the newly added server is disabled.

Stream simultaneously to 2 servers are supported at most, except the following scenarios where only one push is allowed.

  • The bitrate of live broadcast is above 4 Mbps
  • RTSP broadcast is selected.

HTTP Request

GET http://ip/usapi?method=enable-server&id=1&is-use=1
Parameter Description
method enable-server
id Indicates the server ID
is-use Indicates whether the server is enabled.
0 indicates the server is disabled.
1 indicates the server is 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.

results matching ""

    No results matching ""

    results matching ""

      No results matching ""