CameraFTP 支持论坛 \
回复
阅读/回复 : 16332/1

 Hi, 

I am following the "API to Get More Image URLs of a Published Camera and Embed in Your Web Pages" and have tried your example, replaced with my publish details, but when I change the index to 1,2 etc the image does not change. Do you know what I am doing wrong?

https://cameraftpapi.drivehq.com/api/Camera/GetLastCameraImage.aspx/shareID12270928/index0


2021/3/15 1:18:54

The index number was originally designed for extracting an image from one video clip or one zip file (of multiple images). If your camera uploads images at a frequency lower than 1 image/minute, then it will not work. We will improve it in the near future.

For now, you can use the time parameter of the API to get other images, e.g., you can use: ( “%20” is the encoded space character)

https://cameraftpapi.drivehq.com/api/Camera/GetLastCameraImage.aspx/shareID*********/?time=2021-03-16%2001:01:02

https://cameraftpapi.drivehq.com/api/Camera/GetLastCameraImage.aspx/shareID*********/?time=2021-03-13%2001:01:02

 

If you just want to display a camera in your web page, you can directly embed our camera viewer in your web page


回复
2021/3/17 9:52:47

快速回复

请 登录 回复如下: 还不是 CameraFTP 会员?



Leading Cloud Surveillance service

Leading Enterprise Cloud IT Service Since 2003