get-supported-video-modes
Use the interface to retrieve video resolutions supported by the presentation device.
HTTP Request
GET http://ip/mwapi?method=get-supported-video-modes
| Parameter |
Description |
| method |
get-supported-video-modes |
Response Body
JSON structure is as follows:
{
"status": 0,
"modes": [...]
}
1. Request Body
"status": 0
| Name |
Description |
| status |
0 indicates that the request was accepted successfully. Refer to API Status Codes to find specific description for other values. |
2. Resolutions of presentation applications (modes {...})
{
"modes": [
{
"width": 2560,
"height": 1440,
"interlaced": false,
"field-rate": 5995,
"aspect-ratio": 1.77777779,
"pref-mode": true,
"curr-mode": true
},
{
"width": 2560,
"height": 1440,
"interlaced": false,
"field-rate": 14391,
"aspect-ratio": 1.77777779,
"pref-mode": false,
"curr-mode": false
}
...
}
| Name |
Description |
| width |
Shows the width of video in pixels. |
| height |
Shows the height of video in pixels. |
| interlaced |
True indicates to convert interlaced video into a progressive form, otherwise it is false. |
| field-rate |
Shows the decoded NDI video field rate. |
| aspect-ratio |
Shows the decoded NDI stream aspect ratio. |
| pref-mode |
True indicates to use the preference mode, otherwise it is false. |
| curr-mode |
True indicates to use current mode, otherwise it is false. |