Does ONVIF work only in my own subnet?


#1

I am trying out NCS right now, and I want to connect to a camera on another subnet.

If I am on the same subnet 192.168.2.0, I can “Browse” for the ONVIF camera, retrieve its profiles and connect to it.
From another subnet 192.168.0.0, the camera browser offers to scan the 192.168.2.0/24 subnet, but it will not find the camera. If I manually insert the connect string from the working version (in the camera’s subnet), it can neither retrieve the camera’s profiles nor can it connect to the camera.

Is this my fault?


#2

yes onvif detection will only work if on the same subnet.


#3

Thx for the swift reply, … but: Why does the NCS ONVIF browser allow to select another subnet in its drop down list:

This is irritating, I guess.

And then, it’s not only “detecttion”: as I wrote, if I add the address manually, the camera cannot be detected and used either.


#4

For the lan scanning mode.


#5

What starts to be irritating is this kind of repeated remarks in your posts…


#6

No offense meant, so please explain it to me:
If I am in your dialog to brwose for an ONVIF source, and I can select a different subnet - but I cannot find any camera on that other subnet… this does confuse a simple person like me. Or do I understand that entirely wrong? Then I beg your pardon…


#7

same dialog is used for all scanning modes (not only onvif) which you can select from the 2nd dropdown.

onvif discovery will send a request on the network and see all the devices that answer to this request no matter what is selected there but probably this notification just doesn’t go any further that the subnet on which you are.

on the other end lan, scanning will individually try to send a request to every ip address based on the state of this dropbox, this is why in this mode it’s important to select the good network adapter / ip ranges.


#8

Ok, I see thx. So ONVIF actually works in the same subnet at all?
This does mean that I can use a camera on another subnet only as an RTSP source?
(Not a problem, I only would like to understand it.)

… and, as there is no template for my “ieGeek” camera, I have to select “Custom URL”?

If I may post a wish (wher can I do that?), I’d suggest to insert that camera into your templates.
The appropriate string is:
rtsp://user:pwd@ip:554/11 for view 1 and rtsp://user:pwd@ip:554/12 for view 2,
sample: rtsp://admin:verysecret@192.168.0.1:554/11


#9

well you can give a try to: https://sourceforge.net/projects/onvifdm/

if it also cannot see the camera then there is nothing that we can do to improve that, if it does then maybe it’s something too restrictive on our end.

Please report the exact brand / model for the camera.

@Henrik can you please prepare a template ?


#10

Thanks, Steve, I will try the souceforge bit later.

The camera is this one:
ieGeek webcam
It is quite cheap, but seems to send good quality.