Get camera static image via NX API.

Answered

Comments

1 comment

  • Official comment
    Avatar
    Norman Graafsma

    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

    Comment actions Permalink

Please sign in to leave a comment.