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

Status Page

NX api lock and release virtual camera fail

Answered

Comments

10 comments

  • Artem Zaytsev
    • Network Optix team

    Hi Tim.

    Please use this article to gather verbose VMS server logs and also share your database backup (as it is done via System Administration - Backup and Restore).

    0
  • Nx Support

    Hi Tim,

    Any updates on this issue? The log files and DB backup as well as any other details might help.

    0
  • Permanently deleted user

    Hi Zendesk,

    thanks for reply, i changed the log level to DEBUG, and find the help info about token {0000000-000000-0000...}, but still can't get any useful log ...

    0
  • Artem Zaytsev
    • Network Optix team

    Hi Tim.

    Could you please share the logs and your database? What is the version of VMS server you are working with?

    0
  • Andrey Terentyev
    • Network Optix team

    Hello Tim,

    In the article you referred there are several steps described:

    1. Upload file to the server

      1. Create an upload.
      2. Upload all chunks.
      3. Check status, make sure everything went OK.

    2. Once your file is on the server - import it into a Virtual Camera.

      1. Lock the camera
      2. Start importing
      3. Poll camera with extending calls, monitor progress
      4. Release the camera

    Could your please share your code for steps 1.1 - 1.3 and for 2.1, as well?

    0
  • Permanently deleted user

    Hi Andrey,

    i can upload videos and import it into a Virtual Camera normally, but if i try to import others video to the same Virtual Camera, sometimes i will get the token {0000000-000000-0000...} at lock camera API, so there are others ways(API) cloud get the token

     

    0
  • Permanently deleted user

    Hi Tim.

    What response do you get when you release the camera (unlock)?

    0
  • Permanently deleted user

    Hi Evgeny,

    i get the release result below:

    but because release camera need token,  when i do lock return  token {0000000-000000-0000...}, i can't give release camera correct token.

    {
        "error": "0",
        "errorString": "",
        "reply": {
            "consuming": false,
            "locked": true,
            "progress": 0,
            "success": false,
            "token": "{00000000-0000-0000-0000-000000000000}",
            "userId": "{99cbc715-539b-4bfe-856f-799b45b69b1e}"
        }
    }
     
     
    0
  • Permanently deleted user

    I see. I think we need the code sample, logs and the database copy to investigate

    0
  • Norman
    • Network Optix team

    Hi @...

    Is there still something we can do for you? 

    0

Please sign in to leave a comment.