How to Use camereaThumbnail API when Digest Authentication is Disabled
AnsweredHi there,
We have a local v5 account that we are trying to get camera thumbnails from, but this account had digest authentication disabled and we could not get photos from the /ec2/cameraThumbnail API. We could only get a valid response from the /ec2/cameraThumbnail API when we enabled digest authentication on this account.
- Is there a way to get the API to return a photo when digest authentication is disabled?
- Is there a way to get the RTSP link to work when digest authentication is disabled too?
-
Hello,
Is there a way to get the API to return a photo when digest authentication is disabled?
Yes, there is. In the v 5.0 the token/bearer authentication schema is used by default.
You can use our code example to learn how to use it.
Is there a way to get the RTSP link to work when digest authentication is disabled too?
No, there is not. All the media interfaces, including RTSP, work with digest auth only. We recommend creating a separate account with digest auth enabled for working with media interfaces.
Please sign in to leave a comment.
Comments
2 comments