# getMonitorsInfo
Description: Obtain information about monitors.
Request example:
{
"method" : "getMonitorsInfo",
"requestId" : "1"
}
Response example:
{
"method": "getMonitorsInfo",
"requestId" : "1",
"monitors": [
{
"name": "PHL 275E1",
"primary": true,
"index": 0,
"ignored": false,
"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,
"geomMonitor": {
"x": 2560,
"y": 0,
"width": 1920,
"height": 1080
},
"geomWork": {
"x": 2560,
"y": 0,
"width": 1920,
"height": 1032
}
}
],
"currentMonitor": 0,
"result": true
}
Parameter description:
name
— Monitor nameprimary
— the flag indicating if the display is selected as the primary screengeomMonitor
— Geometry of a monitorgeomWork
— Geometry of a monitor work areax
— x-axis screen coordinatey
— y-axis screen coordinatewidth
— screen width, specified in pixelsheight
— screen height, specified in pixelsindex
— Monitor indexcurrentMonitor
— the index of the monitor where the main window of VideoSDK/Room is displayedignored
- a flag indicating whether this screen was added to the ignored list using the command-line parameter --ignore_monitor when launching VideoSDK/RoomrequestId
- a unique request identifier. You can learn more about it here.
See also: