how to set the username and password of the camera through API
AnsweredHi,
How to set the username and password of the camera through API?
The scenario is given below
IP camera will be connected the the system in advance
Our programs needs to set the username and password of the camera provided through our own user interface
Which API is suitable for this scenario
thanks in advance
-
Hello Sebastian,
You can use the setResourceParams.
For knowing the structure of the JSON object use getResourceParams.
The cameraId can be got with getCamerasEx
See this similar topic
0 -
Hi Andrey
Thanks
I found the following param
{
"name": "credentials",
"resourceId": "{3550a921-cfed-3f69-1e15-0f43c5f8bab6}",
"value": "admin:******"
},so when I set credential through setResourceParams api
I will use key as "credentials" and value as "username:password"Is my understanding correct ?
0 -
Hello,
Yes, it's correct.
0
Please sign in to leave a comment.
Comments
3 comments