getMonitorsInfo

TrueConf7/5/26About 1 min

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

NameDescription
nameMonitor name
primaryThe flag indicating if the display is selected as the primary screen
geomMonitorGeometry of a monitor
geomWorkGeometry of a monitor work area
xX-axis screen coordinate
yY-axis screen coordinate
widthScreen width, specified in pixels
heightScreen height, specified in pixels
indexMonitor index
currentMonitorThe index of the monitor where the main window of TrueConf VideoSDK is displayed
ignoredA flag indicating whether this screen was added to the ignored list using the command-line parameter --ignore_monitor when launching TrueConf VideoSDK
idUnique conference identifier
requestIdA unique request identifier
resultA flag indicating whether the request was successful

See also

Last Updated: