getStreamServersList

Use the interface to get the stream server list.

Request Mode

POST/GET http://ip/V1.0/stream/getStreamServersList

Request Data

NULL

Response Body

{
    "serverList": [
        {
            "id": 1717051195496,
            "isConfigured": false,
            "name": "YouTube",
            "type": 1
        },
        {
            "id": 1717051195497,
            "isConfigured": false,
            "name": "Twitch",
            "type": 2
        },
        {
            "id": 1717051195498,
            "isConfigured": false,
            "name": "Facebook Live",
            "type": 3
        },
        {
            "id": 1717051195499,
            "isConfigured": false,
            "name": "NDI",
            "type": 6
        },
        {
            "id": 1717051195500,
            "isConfigured": true,
            "name": "RTMP Server",
            "type": 4
        },
        {
            "id": 1717051195501,
            "isConfigured": false,
            "name": "SRT Caller",
            "type": 5
        }
    ],
    "totalCount": 6,
    "message": "SUCCESS",
    "status": 0
}

HTTP Status Code

Parameter Type Description
status Int Service status code
0: Success
message String Service status description
totalCount Int Total number of stream servers
serverList Array StreamConfigInfo Array of stream server configuration
StreamConfigInfo
Parameter Type Description
id Int The unique stream server ID
name String The name of stream server
type Int The type of stream server
1: YouTube; 2: Twitch; 3: Facebook; 4: RTMP; 5: SRT; 6: NDI
isConfigured Boolean Whether the stream server configuration is complete and valid
false: No; true: Yes

results matching ""

    No results matching ""