implement Virtual Camera issue meets the API difference between 4.2 &5.0

Answered

Comments

4 comments

  • Avatar
    Andrey Terentyev

    Hello Kuo-Lun Tang ,

    Thank you for pointing out.

    There is obviously a typo in the article, will fix it.

    For version 4.2 there should be wearableCamera

    Please, see the working example in our repo on GitHub

    https://github.com/networkoptix/nx_open_integrations/blob/master/python/examples/import_to_virtual_camera.py

    For version 5.0 the API have been renamed to virtualCamera.

    0
    Comment actions Permalink
  • Avatar
    Kuo-Lun Tang

    Hi Andrey, 

          It is very nice to hear from you, we have already make it work on 4.2 via replace the virtaulcam to wearableCamear, but will it be possible to also keep the "wearableCamear" on 5.0? or we have detect the Nx verstion before using the API.....

    0
    Comment actions Permalink
  • Avatar
    Kuo-Lun Tang

    Hi Andrey, 

          Also, a quick questions that will it be possible to put the bookmark on the virtual camera recording playback bar?

    0
    Comment actions Permalink
  • Avatar
    Andrey Terentyev

    Hi,

          Also, a quick questions that will it be possible to put the bookmark on the virtual camera recording playback bar?

    Could you please create a screenshot to demonstrate your idea?

    or we have detect the Nx verstion before using the API.....

    You should detect Server version. Here is an API to use /api/moduleInformation. It does not require authentication.

    0
    Comment actions Permalink

Please sign in to leave a comment.