Camera Thumbnail API Info

In Progress

Comments

2 comments

  • Avatar
    Ichiro

    Hi Elan Paul

    The snapshot is retrieved from the recording or the buffer. If no recording is available and only live video exists, the thumbnail will be fetched from the camera’s video buffer, which typically retains a few seconds of data.

    Sometimes, you may get the image more quickly if the timing aligns with an I-frame. However, if there is no I-frame available at that moment, you may need to wait for the next I-frame or use the roundMethod to select a preferred frame.

    Please note that the endpoint /ec2/cameraThumbnail has been deprecated. The current endpoint for retrieving camera thumbnails (6.0.1) is: /rest/v3/devices/{cameraId}/image

    You can find more details about this API in the latest API documentation. We might recommend checking this updated API to confirm the behavior.Thanks.

    0
    Comment actions Permalink
  • Avatar
    Ichiro

    Hi Elan Paul

    No, this issue is not related to whether it’s an NVR or a camera.

    The API works perfectly for each channel of an NVR and/or cameras.
    Most likely, the issue lies in the cameraId you provided—it should correspond to one of the channels, not the entire NVR. In other words, the cameraId must reference a specific channel, not the NVR itself.

    Thank you.

    0
    Comment actions Permalink

Please sign in to leave a comment.