NX api lock and release virtual camera fail
AnsweredHi
when i use lock virtual camera api <POST /api/wearableCamera/lock — locks Virtual Camera.>,
sometimes will missing the token to get {0000000-000000-0000...}, if i get this zero token that i can't do lock or release virtual camera api, i only can delete the virtual camera.
any solution to release camera when i get token {0000000-000000-0000...}, thanks
-
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 -
Hi Tim,
Any updates on this issue? The log files and DB backup as well as any other details might help.
0 -
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 -
Hi Tim.
Could you please share the logs and your database? What is the version of VMS server you are working with?
0 -
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 cameraCould your please share your code for steps 1.1 - 1.3 and for 2.1, as well?
0 -
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 -
Hi Tim.
What response do you get when you release the camera (unlock)?
0 -
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 -
I see. I think we need the code sample, logs and the database copy to investigate
0 -
Hi @...
Is there still something we can do for you?
0
Please sign in to leave a comment.
Comments
10 comments