Set NDI discovery
1. API Description
This API is used to set NDI discovery.
Request mode: POST [ip]/api/ndi/config/update
Administrator Rights | Logged-in |
---|---|
No | Yes |
2. Input Parameters
Name | Type | Description |
---|---|---|
data | struct | Refer to NDI settings. |
NDI Settings
Name | Required | Type | Description |
---|---|---|---|
enable | Yes | Boolean | Whether to enable NDI discovery. |
discovery_server | No | String | For example, server1, server2... |
groups | No | String | NDI group information. |
3. Output Parameters
Name | Type | Description |
---|---|---|
status | Integer | Status code. |
code | String | Status description. |
4. Example
Setting NDI discovery parameters.
Input Example
{
"data" : {
"enable": true,
"discovery_server": "192.168.66.1,192.168.66.2",
"groups": "public"
}
}
Output Example
{
"status": 0,
"code" : "Success"
}
5. Error Code
No error code related to the API business logic. For other error codes, see Common Error Codes.