Skip to content

ONVIF Integration

Meridian VMS uses the ONVIF protocol for camera auto-discovery, stream negotiation, event subscriptions, and time synchronisation.

FeatureDescription
WS-DiscoveryBroadcasts a multicast probe to find all ONVIF-compliant devices on the network
Device ProbingQueries discovered devices for manufacturer, model, firmware, hardware ID, and serial number
RTSP Stream NegotiationRetrieves main-stream and sub-stream RTSP URIs from the device media service
PullPoint EventsSubscribes to camera-native events for motion detection, tamper, and audio triggers
Time SynchronisationCompares camera time to server UTC and corrects drift by setting the camera clock
Digest AuthenticationAuthenticates to cameras using HTTP Digest Auth with the credentials stored in Meridian VMS

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

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:

  1. Scans the configured IP address ranges using WS-Discovery
  2. Probes each responding device for its full profile
  3. Logs any newly discovered devices that are not yet registered
  4. Sends a notification if new cameras are found (when a notification channel is configured)

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.

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.

Camera (ONVIF PullPoint)
│ Event subscription
v
Management Server
├── Creates event record
├── Evaluates alarm definitions
└── Triggers notifications (if alarm matched)

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.

  1. The management server runs a daily time sync task for all cameras that have ONVIF credentials configured
  2. For each camera, it retrieves the current device time via the ONVIF device service
  3. It compares the camera time to the server’s UTC clock
  4. If the drift exceeds a configurable threshold, it corrects the camera clock
  5. The sync result (success, skipped, or failed) is logged for each camera

Time synchronisation is enabled by default for all cameras with valid ONVIF credentials. The sync runs as part of the daily maintenance cycle.

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.