Aleksa Aleksa - 3 months ago 38
Java Question

Onvif ip camera service discovery

I need to discover all ip cameras in local area network that supports onvif protocol. I tried with WSDiscoveryClient, but it doesnt discover onvif services, although it discovers other services. Its like onvif doesnt responde to probe from WSDiscoveryClient. Onvif device manager can do the discovery, so I know it is possible to do it. Does anyone know how to do it?


This document:

Shows an example of what is required to send(via UDP broadcast)in order to discover ONVIF devices

<?xml version="1.0" encoding="UTF-8"?>
<e:Envelope xmlns:e=""
<w:To e:mustUnderstand="true">urn:schemas-xmlsoap-org:ws:2005:04:discovery</w:To>
<w:Action a:mustUnderstand="true"></w:Action>