Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

The GATE object sends events presented in the table. Procedure is started when the corresponding event occurs. Format of the events procedure for the Videogate object:

...

Events

Description

Comment

GATE_LOW_FPS

Input speed on the gate is reduced


ACTIVE

Gate is active

Event is generated when the list of working cameras corresponds to the list of the Videogate configuration

INACTIVE

Gate is inactive

Event is generated when there are no requests for video streams through the Videogate

ACTIVE_PART

Partial operation of gate

Event is generated when the number of working cameras is less than in the Videogate list

Example. Send corresponding messages to all system cores when the input speed on the gate 1 is reduced.

...

...

OnEvent("GATE","1"," GATE_LOW_FPS ")
{
  NotifyEventGlobal ("GATE","1"," GATE_LOW_FPS ");
}

Operator format for operations with the Videogate:

Code Block
DoReact("GATE","id","command"[,"parameters"]);

The list of commands and parameters for the the GATE object is presented in the table.

...