# setModes

Description: set PIN and mode for the video capture device which is being used.

Request example:

{
    "method" : "setModes",
    "requestId" : "1",
    "pin" : "RGB",
    "mode" : "NTSC_433"
}

Response example:

{
    "method" : "setModes",
    "requestId" : "1",
    "result" : true
}

Parameter description:

  • pin — Parameter that sets the PIN value for an active video capture device.

  • mode — Parameter that sets the mode value for an active video capture device.

  • requestId - a unique request identifier. You can learn more about it here.

See also: