Is the Nx Cloud up? Visit our Status Page for the current health and performance of the Nx Cloud.

Status Page

Applying camera settings to plugin.

Answered

Comments

5 comments

  • Andrey Terentyev
    • Network Optix team

    Hello Jason Shim ,

    > SettingsReceived() can process and send settings to the device(camera).
    Do you mean a physical device?

    > But, when the camera's settings changed, I think there is no way to apply the camera's settings to plug-in settings.

    Do you mean the situation when someone logged in to a physical camera  via its web-interface and changed some settings?

    JIRA-VMS-19392

    0
  • Jason Shim

    Yes for both.

    I'm asking that changed settings on the camera's web page can be applied to plug-in settings.

    0
  • Andrey Terentyev
    • Network Optix team

    Hi,

    There is the "Refresh" button in "Camera settings" window which can be used to make your plugin to re-read settings from the camera via its API.

    Another option could be to create a separate thread in DeviceAgent periodically reading camera settings via API and saving them in internal data structure, such keeping settings information up to date.

    0
  • Jason Shim

    Hi,

    I've noticed that when I press refresh button, the VMS invoke getPluginSideSettings() function.

    That can be a solution partially. 

    But, let's think about following scenario.

    A user changed setting on the camera's web page, and another user opened the Plugins setting on Nx MetaVMS, then pressed Apply.
    The later one doesn't know that the camera settings has been changed. The plugin send the settings on the VMS to the camera.
    The settings made by former user are overwritten.

    Regarding above scenario, I think VMS should call getPluginSideSettings() before opening the Plugin settings.

     

    0
  • Andrey Terentyev
    • Network Optix team

    Hi Jason,

    You are right. It seems to be a bug.

    0

Please sign in to leave a comment.