# getMonitorsInfo
Description
Obtain information about monitors
void getMonitorsInfo()
Response example
{
"method": "getMonitorsInfo",
"requestId" : "1",
"monitors": [
{
"name": "PHL 275E1",
"primary": true,
"index": 0,
"ignored": false,
"deviceInstancePath": "display\\phlc20c\\5&271568fa&0&uid4352",
"geomMonitor": {
"x": 0,
"y": 0,
"width": 2560,
"height": 1440
},
"geomWork": {
"x": 0,
"y": 0,
"width": 2560,
"height": 1380
}
},
{
"name": "Generic PnP Monitor",
"primary": false,
"index": 1,
"ignored": false,
"deviceInstancePath": "display\\rtk1d1a\\5&271568fa&0&uid4357",
"geomMonitor": {
"x": 2560,
"y": 0,
"width": 1920,
"height": 1080
},
"geomWork": {
"x": 2560,
"y": 0,
"width": 1920,
"height": 1032
}
}
],
"currentMonitor": 0,
"result": true
}
Response Parameters
Name | Description |
---|---|
name | Monitor name |
primary | The flag indicating if the display is selected as the primary screen |
geomMonitor | Geometry of a monitor |
geomWork | Geometry of a monitor work area |
x | X-axis screen coordinate |
y | Y-axis screen coordinate |
width | Screen width, specified in pixels |
height | Screen height, specified in pixels |
index | Monitor index |
currentMonitor | The index of the monitor where the main window of TrueConf VideoSDK is displayed |
ignored | A flag indicating whether this screen was added to the ignored list using the command-line parameter --ignore_monitor when launching TrueConf VideoSDK |
id | Unique conference identifier |
requestId | A unique request identifier |
result | A flag indicating whether the request was successful |
See also
← getModes getNDIState →