WS-Discovery (Web Services Dynamic Discovery) is the mechanism ONVIF uses to find cameras on a local network automatically. When a VMS scans for devices, it sends a multicast "probe" message on the LAN; ONVIF cameras that hear it answer with their address and capabilities, so the operator sees a list of discoverable cameras instead of typing in IP addresses one by one. It is the standard that makes "scan and add" onboarding possible.

Mechanically it is a SOAP-over-UDP multicast protocol: the probe goes to a well-known multicast group, and responses come back directly. This is why discovery is so convenient on a flat local network — and why it has a hard boundary. Multicast typically does not cross subnet or VLAN boundaries or traverse routers without help, so cameras on a different network segment from the VMS often will not appear in a WS-Discovery scan even though they are reachable by IP.

The pitfall, then, is relying on auto-discovery in a segmented or large network. Best-practice surveillance VLANs deliberately isolate cameras, which breaks multicast discovery across segments; the fix is to add cameras by IP range or hostname, or to use the VMS's bulk-onboarding tools, rather than expecting one flat scan to find everything. Discovery is for finding devices, not a substitute for an IP addressing and onboarding plan at scale.

Book cover: Video Encoding, Volume 1 of the Fora Soft Video Engineering HandbookBook cover: Video Streaming, Volume 2 of the Fora Soft Video Engineering HandbookBook cover: AI for Video, Volume 7 of the Fora Soft Video Engineering Handbook

The handbook · 7 volumes

Fora Soft Video Engineering Handbook

WS-Discovery finds ONVIF cameras automatically, but its multicast probes stop at subnet and VLAN boundaries, which is where large onboarding projects stall. Our seven-volume handbook covers the full video stack, and for WS-Discovery start with Volume 2, which covers what the network does to traffic, NAT, TCP versus UDP, and the ingest path a discovered camera stream follows into the recorder. Written by Nikolay Sapunov, CEO at Fora Soft.

Browse the handbook on Amazon →7 volumes · 9,000+ pages · Kindle & paperback

Cameras not showing up in WS-Discovery scans across VLANs and sites?

We will review your network layout and design a WS-Discovery and onboarding flow that finds and registers cameras at scale. 250+ video products shipped since 2005.

Book a 30-min call →WhatsApp →Email us →