EVI Perimeter — combination of video surveillance modules (evi-live, evi-archive, evi-analyzer) designed to receive video streams from cameras and store them in an archive.
| Packet | Description |
|---|---|
evi-live | Module for interaction with video surveillance cameras for the EVI Platform |
evi-archive | Module for recording archives from cameras for the EVI Platform |
evi-analyzer | Motion detector module for the EVI Platform |
Requirements for the Video surveillance module
The module requires cameras that support RTSP connection.
Preliminary steps
In the evi-live service configuration file, located at /opt/evi-live/evi-live.conf, the extern_host parameter must specify an IP address or domain name that is accessible to users on your local network.
Otherwise, viewing video from the cameras will be impossible.
The extern_ip parameter in the configuration file /opt/evi-live/evi-live.conf
In case a domain name is set instead of an IP address, video may stop working in the Firefox browser.
To automatically set the address in the configuration file after installation, perform the following steps in the server console:
export EVI_LIVE_EXTERN_HOST=$(ip -br -4 a show $(ip ro get fibmatch 0.0.0.1 | grep -o "dev [^ ]\+") | grep -o "[^ \.]\+\.[^/]\+")
echo $EVI_LIVE_EXTERN_HOST
In the console, the IP address of the server's network interface will be displayed, for example, 192.168.50.15.
To verify the correctness of the IP address, execute the command:
ip -br a
The address must match the network interface.
lo UNKNOWN 127.0.0.1/8 ::1/128 eno1 UP 192.168.50.15/24 metric 100 fe80::3eec:efff:fea0:9396/64
Then proceed to install video surveillance. The extern_host variable will be set automatically in the configuration file.
Installation of the Video surveillance module
To install the Video surveillance module, run the following command:
sudo -E dpkg -i evi-live_1.4.*.deb evi-archive_1.4.*.deb evi-analyzer_1.4.*.deb
sudo apt install -f
Verifying the variable after installation:
cat /opt/evi-live/evi-live.conf | grep "extern_host"
The console will display the following:
extern_host=192.168.50.15 # External or proxy address (ENV: EVILIVE_GLOBAL_EXTERN_HOST)