# getModes
Description
Get a list of modes and PINs for the current capture card
void getModes()
Response example
{
"result" : true,
"activeMode" : "NTSC_433",
"activePin" : "RGB",
"method" : "getModes",
"requestId" : "1",
"modeList" : [
"NTSC_433",
"NTSC_M",
"NTSC_M_J",
"PAL_60"
],
"pinList" : [
"RGB",
"Serial Digital"
],
"supportPTZ" : false,
"videoCapturerName" : "USB2.0 UVC HD Webcam",
"videoCapturerDescription" : "\\\\?\\usb#vid_13d3&pid_5656&mi_00#6&8b7b718&0&0000#{e5323777-f976-4f5b-9b55-b94699c46e44}\\global"
}
Response Parameters
Name | Description |
---|---|
videoCapturerName | Unique name of the video capture device |
videoCapturerDescription | The identifier of the current video capture device |
activeMode | The active mode of a video capture device |
activePin | The active PIN of the video capture device |
modeList | List of modes available for the device |
pinList | The list of PINs available for the device |
supportPTZ | Flag indicating support for PTZ control |
requestId | A unique request identifier |
result | A flag indicating whether the request was successful |
See also