ONVIF Integration
Meridian VMS uses the ONVIF protocol for camera auto-discovery, stream negotiation, event subscriptions, and time synchronisation.
Supported Features
Section titled “Supported Features”| Feature | Description |
|---|---|
| WS-Discovery | Broadcasts a multicast probe to find all ONVIF-compliant devices on the network |
| Device Probing | Queries discovered devices for manufacturer, model, firmware, hardware ID, and serial number |
| RTSP Stream Negotiation | Retrieves main-stream and sub-stream RTSP URIs from the device media service |
| PullPoint Events | Subscribes to camera-native events for motion detection, tamper, and audio triggers |
| Time Synchronisation | Compares camera time to server UTC and corrects drift by setting the camera clock |
| Digest Authentication | Authenticates to cameras using HTTP Digest Auth with the credentials stored in Meridian VMS |
Camera Discovery
Section titled “Camera Discovery”On-Demand Discovery
Section titled “On-Demand Discovery”From the Settings > Cameras page, use the Discover Cameras button to run a WS-Discovery probe across the network. The system broadcasts a multicast message and collects responses from all ONVIF-compliant devices within the network segment.
Discovered cameras are presented in a list showing:
- IP address and ONVIF port
- Manufacturer and model
- Firmware version
- Whether the camera is already registered in Meridian VMS
Scheduled Discovery
Section titled “Scheduled Discovery”Meridian VMS supports daily scheduled discovery that automatically scans configured IP ranges for new cameras. This is useful for large deployments where cameras may be added to the network between manual discovery sessions.
Scheduled discovery runs once per day and:
- Scans the configured IP address ranges using WS-Discovery
- Probes each responding device for its full profile
- Logs any newly discovered devices that are not yet registered
- Sends a notification if new cameras are found (when a notification channel is configured)
ONVIF Events (PullPoint)
Section titled “ONVIF Events (PullPoint)”Meridian VMS subscribes to ONVIF PullPoint event notifications to receive camera-native events without polling. This is more reliable and bandwidth-efficient than periodic snapshot comparisons.
Supported Event Types
Section titled “Supported Event Types”Motion Detection : Triggered when the camera’s built-in motion detection activates. Used as a pre-filter for AI object detection and as a standalone event source.
Tamper Detection : Triggered when the camera detects lens obstruction, defocus, or physical movement of the camera housing.
Audio Detection : Triggered when the camera’s audio analytics detect a sound event above the configured threshold.
Event Flow
Section titled “Event Flow”Camera (ONVIF PullPoint) │ │ Event subscription vManagement Server │ ├── Creates event record ├── Evaluates alarm definitions └── Triggers notifications (if alarm matched)Time Synchronisation
Section titled “Time Synchronisation”Camera clocks drift over time, which causes misalignment between recorded segment timestamps and the actual time of events. Meridian VMS includes automatic time synchronisation to prevent this.
How It Works
Section titled “How It Works”- The management server runs a daily time sync task for all cameras that have ONVIF credentials configured
- For each camera, it retrieves the current device time via the ONVIF device service
- It compares the camera time to the server’s UTC clock
- If the drift exceeds a configurable threshold, it corrects the camera clock
- The sync result (success, skipped, or failed) is logged for each camera
Configuration
Section titled “Configuration”Time synchronisation is enabled by default for all cameras with valid ONVIF credentials. The sync runs as part of the daily maintenance cycle.
Authentication
Section titled “Authentication”ONVIF communication uses HTTP Digest Authentication. When adding a camera — either manually or via discovery — you provide the ONVIF username and password. These credentials are stored securely and used for all subsequent ONVIF operations including discovery probing, event subscriptions, and time synchronisation.