set-server

Use the interface to modify stream server.

HTTP Request

GET http://ip/usapi?method=set-server&id=xxx&type=xxx&url=xxx&key=xxx&...
Parameter Description
method set-server
id Indicates server ID.
type Indicates server type.
0: RTMP
1: Twitch
2: YouTube
3: Facebook
name Indicates server name.
1. 1 to 32 characters
2. A-Z, a-z, 0-9, space ._-+\' and cannot begin or end with a space
url Indicates server address.
key Indicates stream key.
is-auth Indicates whether an authentication is required.
0: authentication is not required
1: authentication is required, and username and password are mandatory.
user Indicates username.
passwd Indicates password.
token Indicates Token.
net-mode Indicates the prime network for streaming.
0: Mobile Broadband
1: Ethernet
2: Wi-Fi

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