Skip to main content
Version: 1.14.2

Integration

img.png

Integration with OMNI Agent

The results of processing video streams from cameras in the format of processes and events are sent to OMNI Platform via the HTTP protocol in real time. The list of Agent profiles is synchronized with the list of Platform profiles on average once per minute. For more information about processes and events, see section 4 of OMNI Agent User Guide.

Integration with Third-Party Services

Web Sockets

OMNI Platform implements the ability to send events coming from OMNI Agent to a third-party service via web sockets.

The instructions below show how to set a web socket connection using the Postman HTTP client:

  1. Download and install Postman.
  2. Select file -> new -> WebSocket in the client interface.
  3. Specify the request URL in the opened tab:
  • ws://$DOMAIN/event-service/identification/ws?access=<your_token> - to transmit identification events via web socket.
  • ws://$DOMAIN/event-service/non_identification/ws?access=<your_token> - to transmit non-identification events via web socket.
  1. The connection is established, events are sent to the server.
note

Since the Platform and Agent data are synchronized on average once per minute, the following situation can occur:

If within an average of 1 minute after deleting a profile from the database, the person, who this profile belonged to, gets into the camera’s field of view, the Agent generates an identification event and sends it to the Platform. Since such a profile no longer exists on the Platform, the Platform cannot send such an event via web socket. Such “lost” events can only be displayed through the GraphQL API of the Platform. See Section 2.10 of the API Reference for details.