---
title: Camera Connection and Provisioning
description: How to Connect, Test, and Add Cameras to the Alocity AiVR System
---

[Skip to content](https://help.alocity.com/knowledge/camera-connection-and-provisioning#main-content)

English

Show submenu for translations

[SUBMIT A TICKET HERE](https://help.alocity.com/knowledge/kb-tickets/new?hsLang=en)

[![Alocity](https://help.alocity.com/hs-fs/hubfs/alocity-logo%20Full.png?width=181&height=48&name=alocity-logo%20Full.png)](https://www.alocity.com/)

Open main navigation

Close main navigation

- English
  
  Show submenu for translations
- [SUBMIT A TICKET HERE](https://help.alocity.com/knowledge/kb-tickets/new)
- [Contact Support Now](mailto:support@alocity.com)

[Contact Support Now](mailto:support@alocity.com)

 Hello. How can we help you?

- There are no suggestions because the search field is empty.

1. [Alocity Help Center (Knowledge Base)](https://help.alocity.com/knowledge?hsLang=en)
2. [AiVR Installation, Setup And Configuration Guide](https://help.alocity.com/knowledge/aivr-installation-setup-and-configuration-guide?hsLang=en)
3. [Setup and configuration](https://help.alocity.com/knowledge/aivr-installation-setup-and-configuration-guide?hsLang=en#setup-and-configuration)

# Camera Connection and Provisioning

## How to Connect, Test, and Add Cameras to the Alocity AiVR System

To begin video recording and analytics, compatible cameras must be connected and provisioned into available AiVR slots. This guide outlines the full process — from discovery to stream activation — and addresses both ONVIF and RTSP integrations.

---

### 1. Before You Start

Make sure of the following:

- Cameras must support **ONVIF Profile S or higher**, or offer a valid **RTSP stream**.
- Streaming codec must be **H.264** or **H.265** (MJPEG and other formats are not supported).
- Cameras must be connected to the **same local network (LAN)** as the AiVR.
- You must have valid **admin credentials** for Web Services (HTTP), ONVIF or RTSP access.

> **Important Note:**If you don’t know the credentials, reset the camera or contact the your camera vendor or manufacturer to troubleshoot on how to obtain them.

---

### 2. Discovering Cameras on the Network

Once the AiVR is online and connected to the same subnet:

- Go to the **AiVR** option on the main menu on the left and **click on the device name** to access the menu of the device you want to initiate the scan
- Click on the **Camera Slots** tab in the device menu and click **Scan**.

![](https://help.alocity.com/hs-fs/hubfs/image-png-Jul-17-2025-06-02-55-7380-PM.png?width=688&height=180&name=image-png-Jul-17-2025-06-02-55-7380-PM.png)

- The AiVR will display a list of **all IP cameras it detects** on the network.

Each entry will show:

- IP address
- RTSP status
- ONVIF support
- Manufacturer
- MAC address
- Snapshot (if available)

![](https://help.alocity.com/hs-fs/hubfs/image-png-Jul-17-2025-06-08-03-4106-PM.png?width=688&height=294&name=image-png-Jul-17-2025-06-08-03-4106-PM.png)

You may now use the internal web service of each camera to log into the device menu to configure or validate credentials:

- Open a web browser and type the camera’s IP address (e.g. `http://192.168.1.100`)
- Use web login credentials provided by the camera vendor or manufacturer.
- Adjust settings, enable RTSP/ONVIF, or update firmware as needed.

**Use a VLC player (for RTSP) or ONVIF Device Manager (for ONVIF)** to:

- Validate credentials
- Test stream stability
- Adjust angle/zoom of the camera lens before analytics begin

**Important Note:** Do not assume the camera’s web login credentials work for ONVIF or RTSP. These may require separate user setup. If you don’t know the credentials, reset the camera or contact the your camera vendor or manufacturer to troubleshoot on how to obtain them.

---

### 3. Adding a Camera to the AiVR

When you have your RTSP/ONVIF camera credentials and you’re ready to provision:

#### For RTSP Cameras:

- Click **Add** next to the detected RTSP camera.
- Fill in:
  
    - **Name**
    - **Username / Password**
    - **Port.**
    - **Append URL** (stream path after IP, e.g., `stream0?username=admin&password=abc123`)
    - **Select a Zone**
    - **Stream URL:** (will populate automatically after filling the necessary information)
    - **Inference URL:** (you can leave this blank and it will automatically use the main stream URL)
- Press **Test** to confirm connectivity.

If the video loads: the stream is active

If it fails: recheck credentials, URL format and additional camera settings via the camera web services. 

**Important Note:** Alocity does not provide 3rd camera support, please refer to your camera manuals and manufacturer or vendor support service if you encounter further problems in connecting your camera. 

---

#### For ONVIF Cameras:

- Click **Add** next to the ONVIF camera
- Enter only the **Username / Password**
- Click **Scan**
- The AiVR will automatically pull the correct RTSP stream from the ONVIF profile, eliminating the need for manual stream path configuration

**ONVIF and RTSP Ports**

Ensure the following ports are allowed through your firewall:

- **RTSP**: Port 554
- **ONVIF**: Typically Port 80, 8000, or 8080 depending on the camera

---

### 4. Final Provisioning

- After testing, click **Save** to assign the camera to a slot and **close** the scan tool **window**.
- Navigate to Cameras and select the camera you just added to test it, note that the stream may take up to **1 minute** to initialize depending on the camera manufacturer.
- Once active, you can monitor footage via the [**Video Wall**](https://help.alocity.com/knowledge/video-wall-monitoring?hsLang=en) or setup the **[AI Agents](https://help.alocity.com/knowledge/configuring-ai-video-agents-in-alocity?hsLang=en).**

**NOTE:** The AiVR may detect more cameras than it supports. You can only assign the number of cameras allowed by your AiVR hardware license.

---

 

- [Quick Start Guides](https://help.alocity.com/knowledge/quick-start-guides?hsLang=en)
- [Alocity Control Center Guide](https://help.alocity.com/knowledge/alocity-control-center-guide?hsLang=en#main-content)

    - [Software and Account General Setup](https://help.alocity.com/knowledge/alocity-control-center-guide?hsLang=en#software-and-account-general-setup)
    - [Video Security Management](https://help.alocity.com/knowledge/alocity-control-center-guide?hsLang=en#video-security-management)
    - [User and Group Management](https://help.alocity.com/knowledge/alocity-control-center-guide?hsLang=en#user-and-group-management)
    - [Access Control Management](https://help.alocity.com/knowledge/alocity-control-center-guide?hsLang=en#access-control-management)
    - [Intercom Management](https://help.alocity.com/knowledge/alocity-control-center-guide?hsLang=en#intercom-management)
- [Alocity 1id Mobile App Guide](https://help.alocity.com/knowledge/alocity-1id-mobile-app-guide?hsLang=en#main-content)

    - [Resident & tenant guide](https://help.alocity.com/knowledge/alocity-1id-mobile-app-guide?hsLang=en#resident-tenant-guide)
    - [Mobile Credential Users and Super Admins Guide](https://help.alocity.com/knowledge/alocity-1id-mobile-app-guide?hsLang=en#mobile-credential-users-and-super-admins-guide)
- [AiVR Installation, Setup And Configuration Guide](https://help.alocity.com/knowledge/aivr-installation-setup-and-configuration-guide?hsLang=en#main-content)

    - [First Steps](https://help.alocity.com/knowledge/aivr-installation-setup-and-configuration-guide?hsLang=en#first-steps)
    - [Setup and configuration](https://help.alocity.com/knowledge/aivr-installation-setup-and-configuration-guide?hsLang=en#setup-and-configuration)
- [F3D100 Installation, Setup And Configuration Guide](https://help.alocity.com/knowledge/f3d100-installation-setup-and-configuration-guide?hsLang=en#main-content)

    - [First Steps](https://help.alocity.com/knowledge/f3d100-installation-setup-and-configuration-guide?hsLang=en#first-steps)
    - [F3D100 Installation and Wiring](https://help.alocity.com/knowledge/f3d100-installation-setup-and-configuration-guide?hsLang=en#f3d100-installation-and-wiring)
    - [I/O Controller Installation (F3D100)](https://help.alocity.com/knowledge/f3d100-installation-setup-and-configuration-guide?hsLang=en#i-o-controller-installation-f3d100)
    - [Connecting the F3D100 to 3rd Party readers and controllers](https://help.alocity.com/knowledge/f3d100-installation-setup-and-configuration-guide?hsLang=en#connecting-the-f3d100-to-3rd-party-readers-and-controllers)
- [AI-1000 Installation, Setup And Configuration](https://help.alocity.com/knowledge/ai-1000-installation-setup-and-configuration?hsLang=en#main-content)

    - [First Steps](https://help.alocity.com/knowledge/ai-1000-installation-setup-and-configuration?hsLang=en#first-steps)
    - [AI-1000 Installation and Wiring](https://help.alocity.com/knowledge/ai-1000-installation-setup-and-configuration?hsLang=en#ai-1000-installation-and-wiring)
    - [I/O Controller Installation](https://help.alocity.com/knowledge/ai-1000-installation-setup-and-configuration?hsLang=en#i-o-controller-installation)
- [Mercury Intelligent Controller Installation, Setup And Configuration Guide](https://help.alocity.com/knowledge/mercury-intelligent-controller-installation-setup-and-configuration-guide?hsLang=en#main-content)

    - [First Steps](https://help.alocity.com/knowledge/mercury-intelligent-controller-installation-setup-and-configuration-guide?hsLang=en#first-steps)
- [FAQ'S](https://help.alocity.com/knowledge/faqs?hsLang=en#main-content)

    - [Frequently Asked Questions (FAQ'S)](https://help.alocity.com/knowledge/faqs?hsLang=en#frequently-asked-questions-faqs)
    - [Common Problems Troubleshooting](https://help.alocity.com/knowledge/faqs?hsLang=en#common-problems-troubleshooting)
- [Release Notes And Versions History](https://help.alocity.com/knowledge/release-notes-and-versions-history?hsLang=en)

# Alocity

alocity.com Help Center

Copyright © 2026, Alocity