Get still image via cloud service
AnsweredHi there, wondering if anyone can help? We have a system external to us from a third party installer and not part of our system that the end customer owns but the third party manage.
The customer wants to get still images for a website which we already do for our other NX systems but they want this other camera added as well. We would like to retrieve the still live image via cloud API and while there is documentation on doing this directly via the NX API (/ec2/cameraThumbnail?cameraId=xxxxxxxx&time=now) but we would rather do this via the cloud API for this one camera. We currently have full access to their system but I would prefer not to take ongoing administrative ownership/responsibility for it if we can help it.
My question therefore is this possible and if so does anyone have a sample API call? Or maybe there's a better way to achieve the same?
Thanks in advance.
-
Hi Byron.
cloud service doesn't provide any specialized API for communication with VMS system. Mainly you can use cloud as proxy to access VMS systems which aren't exposed via internet.
If you don't want to sending /ec2/cameraThumbnail request directly to mediaserver's IP, you can use
https://{systemId}.relay.vmsproxy.com/ec2/cameraThumbnail?cameraId=xxxxxxxx&time=now
as described in this article.
However, if your concern about limiting ownership/responsibility, I'd recommend to create separate user with limited permission and use this user's credentials when sending API request.
Please sign in to leave a comment.
Comments
2 comments