Go to documentation repository
...
The GATE object sends events presented in the table. Procedure is started when the corresponding event appears.
Format of events procedure for the Videogate object:
| Code Block |
|---|
OnEvent("GATE ","_id_","_event_") |
occurs.
Events | Description | Comment |
GATE_LOW_FPS | Input speed on the gate is reduced | |
ACTIVE | Gate is active | Event is generated when the list of worked working cameras corresponds to the list of the Videogate configuration |
INACTIVE | Gate is inactive | Event is generated when there are no requests for video flows streams through the Videogate |
ACTIVE_PART | Partial work operation of gate | Event is generated if when the number of worked working cameras is less than in the gate Videogate list |
Example. Send corresponding messages to all system cores while reducing the input speed.
...
The list of commands and parameters for the GATE object is presented in the table.
| Command—command description | Parameters | Parameter description | Features |
|---|---|---|---|
| START_VIDEO—enable camera video stream and start writing to the archive | cam<> | Identifier of the camera by which it is necessary to start or stop recording | The commands work even if the Monitor doesn't display the selected camera. The commands work if constant recording and active camera recording is enabled in the Videogate—see Configuring the recording to the Videogate archive |
| STOP_VIDEO—stop camera video stream and stop writing to the archive |