Bridge Agent
Install a Bridge Agent on a computer at the site, enroll it with a one-time token, add discovery credentials, and add the cameras it finds without opening a port on the site's firewall.
Contents
The Bridge Agent is software on a computer at the site. It finds the cameras on the site's network and relays their video to Kalytera Cloud over an outbound, encrypted connection, so no port is opened on the site's firewall. Kalytera enables Bridge Agents on request. Adding agents needs permission to change cameras on All sites; the installer prepares the computer.
Before you start
- Computer: 64-bit Windows, or Debian or Ubuntu on 64-bit x86 (amd64). Other Linux distributions and ARM are not supported. It must stay on and reach the cameras.
- Installer: Kalytera supplies the Windows installer (MSI) and the Debian package (.deb). The portal has no download; ask through Support.
- Network: the agent listens on no port and needs these connections:
| Traffic | Protocol and port | Purpose |
|---|---|---|
| Outbound to Kalytera | HTTPS, TCP 443 | Enrollment, check-ins and settings |
| Outbound to Kalytera | RTMPS, to the address and port Kalytera gives the agent | Video |
| To the cameras | RTSP (normally 554, or 322 for RTSPS), HTTP and HTTPS | Checking and relaying streams |
| Discovery on the site's network | UDP 3702, 37020, 37810 and 1900 | ONVIF WS-Discovery, Hikvision SADP, Dahua DHIP and Axis SSDP |
If the site firewall limits outbound traffic, ask Kalytera for the domains, addresses and ports to allow. The computer's own firewall must let the discovery replies in. Discovery may not cross routed VLANs; add cameras on other networks manually.
Add the agent
- Open Cameras > Devices and, on the Bridge Agents card, select Add Bridge Agent.
- Enter a Name and a Description (optional), then select Create enrollment token.
- Copy the Cloud API URL and the Enrollment token. Treat the token like a password.
- Select I copied the enrollment token — continue. After that, the token cannot be shown again.
The token works once. Until you continue, the page can be reloaded for 15 minutes. If the token is lost before the agent enrolls, remove the pending agent and add it again.
Install the agent
The token page shows the install steps:
- Windows: install the MSI. In PowerShell run as administrator, run the enrollment command, enter the Cloud API URL if asked, then paste the token.
- Debian or Ubuntu: install the package with the command shown. The installer asks for the Cloud API URL and the token.
Under Bridge Agents, the agent's status changes from Pending enrollment to Online. To update it, install the newer package from Kalytera over the old one; the agent keeps its enrollment.
Add discovery credentials
Most cameras need a sign-in before the agent can check their stream. On the Bridge Agents page, under Discovery credentials, select Add credential. Enter a Label, the Username and Password, and optionally a Vendor (optional) and a List order. The password is encrypted and never shown again.
A credential is sent to the agent only for the one camera you verify, for one attempt. It is never tried across the network.
Find and add cameras
- On the agent, select Discover cameras, then Scan network. The agent scans at its next check-in, usually within a minute.
- For each camera found, pick its discovery credential in Choose credential… and select Verify. A camera that needs no sign-in is verified without one.
- Choose the Site for new cameras.
- Once the stream is verified, select Add camera. Without a Site, use Add disabled for later.
For a camera the scan does not find, use Add a camera manually with its address, port, stream path and sign-in.
What the agent relays
The agent relays H.264 video without audio; set the camera to H.264.
Analytics rules cannot run on Bridge cameras. On motion recording needs agent version 1.5.0 or later, which detects motion on site.
Site I/O through a Bridge
Kalytera enables Site I/O control on request. A Bridge Agent can then reach supported Axis inputs, outputs and speakers on the site's network; live talk through a speaker always needs a Bridge. A person with Configure Site control devices adds each device under the site's Equipment > I/O devices > Add device, in the Add a device dialog, choosing the Bridge option under Connection and the Enrolled Bridge Agent. See Add an Axis I/O device to a Site.
Axis cameras the agent relays need no device: their Monitor tiles offer PTZ and talk by themselves. See Live view and playback.
When the agent goes offline
- The agent shows Offline after missed check-ins, and Bridge Agent offline and restore events report it.
- Its cameras lose cloud video. Optional encrypted Site recording can keep footage locally and recover eligible footage after reconnection; configure it beforehand on a capable agent.
- Set the video-loss delay under Settings > Video availability. Enable local alarms under Settings > Alarm rules > Video availability.
- When the connection returns, relaying resumes by itself, and a Site I/O input that changed meanwhile is reported at the first good reading.
Remove an agent
First retire the agent's I/O devices on each Site's Equipment tab. Then, on the agent, open Remove Bridge Agent and select Review and remove. Removal revokes the agent at once; its cameras are disabled and kept with their footage. Uninstall it from the computer afterwards. If an offline agent with Site I/O devices is lost or stolen, use Revoke its key on the same page first.