ONVIF discovery from VirtualBox

Answered

Comments

5 comments

  • Avatar
    Wendy Chuang

    Hi Jim,

    I also have the Virtual machine on my test server, and all the multicast packet (includes the udp port 3702) could be captured on the main host. Did you add the camera by auto-discovery or manual added? If the camera was added by auto-discovery, that means the multicast should be able to send outside of the VM. 

    If the "losing connection" problem means the status of camera will become offline, then please help us to provide the information:

    1. The network adapter type of the virtual machine
    2. How do you add your camera into Nx server, by manual added or auto-discovery?
    3. The screenshot of System Administration > General tab
    4. The Nx server version
    5. When the camera's status turns to offline, please help to check if the LIVE stream is still able to playback.

    Thank you.

    0
    Comment actions Permalink
  • Avatar
    Norman Graafsma

    Hi Jim,

    This is a common issue with VirtualBox. (see this BUG report)
    Most likely you have set your network traffic to NAT which might have issues with UDP packages. 
    When set to BRIDGE, it seems to be fine as it is in my case (VirtualBox 6.0.14_Ubuntu r132055).

    0
    Comment actions Permalink
  • Avatar
    Jim Van Vorst

    When I opened the ticket I had both NAT and Bridged enabled.  Now I have disabled NAT.  I have the same results with only the Bridged adapter: no 3702 packets.

    I manually add the device.

    Version is

      4.0.0.29987

    Here is the screenshot of the General tab:

     

    After I add, I see this:

    until I actually double-click to view live, at which point I can see the live stream and the 'x' goes away. 

    If I close the live stream then I get the 'x' again.

     

     

    0
    Comment actions Permalink
  • Avatar
    Wendy Chuang

    Hi Jim,

    Thanks for sharing the info and your configuration. It looks like the expect behavior.
    The multicast packet including UDP port 3702 packet should be sent when you enabling the auto-discovery option from System Administration page. In order to save the network resource, Nx will try to minimize the transactions between server and devices. You may refer to the article here for detailed.
    If your configuration meet the following case:
    - Auto-discovery is disabled
    - Camera was added manually
    - The camera is not opened on the layout
    - Camera recording is not enabled

    In this situation, there's is not multicast request in the network and no HTTP request sent to the camera.
    The status of cameras will be changed to offline on resource tree, although the camera might be still available. There is a exception of the case : when you have several servers in the system and failover is enabled, then Nx will check cameras status and show its status accordingly.

    We plan to slightly adjust the mechanism in v.4.1.(ETA might be 2020/August).
    Since 4.1, Nx will show the last situation(status) of the camera when the auto-discovery is disabled or no failover configured of the multiple servers. 

    Thank you.

    0
    Comment actions Permalink
  • Avatar
    Jim Van Vorst

    Ah, OK.  I verified this by enabling recording and the camera is no longer marked as offline.

    Thanks for clarifying this.

    0
    Comment actions Permalink

Please sign in to leave a comment.