Versions Compared

Key

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

Axxon Next 4.3.0.8031 and higher versions.

To get the camera events using WebSocket, do the following:

  1. Connect to ws://[user_name]:[password]@[IP-address]:[port]/[prefix]/events.
  2. Send a JSON command to subscribe on events generated by the specified cameras (seeGet list of video sources (cameras)cameras and information about them). This subscription allows you to receive all the events shown in the table below.

    Code Block
    {
    "include":
    ["hosts/Server1/DeviceIpint.1/SourceEndpoint.video:0:0", "hosts/Server1/DeviceIpint.6/SourceEndpoint.video:0:0"],
    "exclude":[]
    }

    include - subscribe to the events receiving;
    exclude - disable the events receiving.

...

Info
titleNote

If the camera is disabled in Axxon Next, no events are received from it using WebSocket, including the signal lost event.

...