Get camera static image via NX API.
AnsweredHow to get 10 seconds ago camera static image through the NX cameraThumbnail API command? (/ec2/cameraThumbnail?cameraId=xxxxxxxx &time=???)
-
Official comment
Hi Kevin,
The camera ID can be found in the Desktop client via the 'Camera Settings' menu tab 'Advanced' or with another API command, for example: .../ec2/getCameras and look for the relevant ID.
Than you want to know the time. We use the Unix Epoch Timestamp in miliseconds since we do not know in which timezone a system is and the Unix Epoch timestamp is always accurate.
You can calculate the Unix Epoch Timestamp with the following tool:
https://www.epochconverter.com/
So your URL will be something like:
ip-address:portnumber/ec2/cameraThumbnail?cameraId=41412ce8-80b5-3f20-c98d-3f85548bc684&time=1562939855000
Please sign in to leave a comment.
Comments
1 comment