add-serve

Use the interface to add stream servers, 16 servers are supported at most.

Different servers with the same configurations are not allowed, such as:

  • RTMP servers with the same URL and StreamKey
  • servers with the same StreamKey

HTTP Request

GET http://ip/usapi?method=add-server&type=xxx&url=xxx&key=xxx&...
Parameter Description
method add-server
type Indicates server type.
0: RTMP
1: Twitch
2: YouTube
3: Facebook
name Indicates server name, the characters contain
1. 1 to 32 characters
2. A to Z, a to z, 0 to 9, spaces ._-+', and cannot start or end with space.
url Indicates server address.
key Indicates stream key.
is-auth Indicates authentication status.
0: authentication is not needed
1: authentication is needed. Username and password are required.
user Indicates user name.
passwd Indicates password.
token Indicates Token.
net-mode Indicates the network priority.
0: Mobile network first
1: Ethernet first
2: Wi-Fi first

Response Body

{
  "result": 0
}
Item Description
result 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 ""