# Cameras

> Vigil connects to the network cameras on your sites through a small gateway program, and shows their live video and recent frames in the console.

Source: https://vigilsecure.net/docs/concepts/cameras/

Cameras bring the network cameras already on your sites into Vigil, so the control room
sees video next to patrols, chats and devices instead of in a separate app.

> **Rolling out:** Cameras is being rolled out and is switched on for each organization by Vigil. Check
> **Organization → Features** to see whether it is enabled for you, and
> [contact us](mailto:admin@vigilsecure.net) to ask for it. When it is enabled, **Cameras**
> appears under **Infrastructure** in the sidebar.

## How cameras connect: the gateway

Your cameras are never opened up to the internet. Instead you run a small program, the
_gateway_, on a computer at the site. The gateway finds the cameras on the site's network
that support ONVIF, the standard most network cameras share, and connects them to Vigil.

Setting up a gateway is a job for somebody who is comfortable installing a program on a
computer, such as the person who looks after the site's cameras or IT.

1. Open **Infrastructure → Cameras** and choose **Link gateway**. The dialog has the
   gateway downloads for the machine on site: Windows, macOS, or Linux on x64 or ARM.
2. Unzip it and start it. It writes its **Gateway ID** to `data/README.md` in its folder.
3. Enter the **Gateway ID** in the **Link gateway** dialog. A gateway can be linked while
   it is running and has recently been seen.

You do not add cameras by hand. The cameras a gateway finds appear in the list by
themselves. For a picture, the gateway needs each camera's username and password in its
credentials file, which stays on the gateway.

## The camera list

Each camera is a card with its latest frame, its name, the site or gateway it belongs to,
its address and a badge: **Live** or **No signal**. Search by name or address.

## Watch a camera

Open a camera to see its **View** tab.

- **Live video** plays when the camera is live. A stream runs only while somebody is
  watching it, and everyone watching shares the same stream. Vigil does not record video.
- **Frames** are stills the gateway sends from the camera. The strip beneath the video
  shows recent frames; choose one to review it, and **Back to live** to return.
- **Labels** shows what object detection found in a still, as boxes with a label and a
  confidence.
- **Pan and tilt** controls appear while live video plays. They work on cameras that can
  move.

## Related

- [Camera monitoring](https://vigilsecure.net/docs/examples/camera-monitoring.md)
- [Frequently asked questions](https://vigilsecure.net/docs/faq.md#cameras)
