enable-server

Use the interface to enable the added stream server which 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 2 scenarios where only one push is allowed.

  • Facebook live interface is selected.
  • The bitrate of live stream is set to 8 Mbps.

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 ""