Hello I’m trying to connect multiple ip camera with my c++ code.
I need to use RTSP way to connect, and I have several cameras that use digest authentication.
(My cameras have different rtsp url, so I didn’t write whole url. I checked url is available with VLC player)
But some cameras that have userId, password can’t use URL ver1. (I don’t know why, but the camera company answered me like that. ) So I need to use only ver 2 url.
My question starts now.
In VLC player, when I try ver2 way to connect ip camera, vlc shows this window.
Not sure this is the right forum to ask this kind of question. Anyways, did you try some default credentials? Usually, IP cameras come with default credentials that you can use to gain access to the video feed. Try using your smartphone as your IP camera to isolate the problem and make sure your C++ code is working correctly before connecting with other cameras.
Probably not going to work for you but if nothing else does you could try seeing if you can access through ONVIF Device Manager, without having to login to it first. If so you should be able to get a connection string from the live tab for the camera.
I mention this because sometimes you can’t use the password in plain text and the url ends up looking like
where eqFKuJui is the encoded password. I have seen this on several different non brand Chinese IP camera’s, and I haven’t been able to get the connection string any other way.