type alias PtzGuard

The PTZ guard position settings in <PtzGuard>.

Properties

optional
channelId: number

Zero-based channel; the parser rejects 64 and above.

optional
timeout: number

Seconds idle before the camera returns to the guard position.

optional
benable: number

Nonzero when returning to the guard position is on.

optional
bvalid: number

Nonzero when a guard position is stored; written in replies only.

optional
imageName: string

Name of the guard position preview image, up to 31 characters.

optional
needSetPos: number

Nonzero to store the current position as the guard position; read from requests only.

optional
command: string

PTZ command name, such as setGrd or toGrd; the parser rejects a name outside the firmware's 37 PTZ commands. Read from requests only.

Usage

import { type PtzGuard } from "protocol/params/mod.ts";