Go to documentation repository
Page History
...
- Connect to ws://[user_name]:[password]@[IP-address]:[port]/[prefix]/events.
Send a JSON command to subscribe on events generated by the specified cameras (see Get list of video 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.
...
Event type | Description | States |
---|---|---|
devicestatechanged | Camera state | signal restored - connected – connected, signal restored signal lost - signal – signal lost |
alert | Alarm | No states |
alert_state | Alarm state | processing - the – the alarm is being processed closed - alarm – alarm processed reaction - alarm – alarm initiated |
detector_event | Detection tool triggering | No states |
camera_record_state | Archive record state | on - the – the camera is recording to the archive off - the – the camera is not linked to the archive gray - the – the camera is linked to the archive, but is not recording |
...
Overview
Content Tools