getModes

TrueConf7/5/26About 1 min

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

NameDescription
videoCapturerNameUnique name of the video capture device
videoCapturerDescriptionThe identifier of the current video capture device
activeModeThe active mode of a video capture device
activePinThe active PIN of the video capture device
modeListList of modes available for the device
pinListThe list of PINs available for the device
supportPTZFlag indicating support for PTZ control
requestIdA unique request identifier
resultA flag indicating whether the request was successful

See also

Last Updated: