# getModes

Description: Get a list of modes and PINs for the current capture card.

Request example:

{
    "method" : "getModes",
    "requestId" : "1"
}

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"
}

Parameter 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. You can learn more about it here.

See also: