I have some ezviz in my hometown, which is connected to a different network with my homeassistant server. I created the ddns and forward port, then I can use this link to stream the camera anywhere
rtsp://username:password@domain:port/H.264
I tested the link above in VLC with cellular and also other wifi network, they all fine. However when I use these link for configuring a generic camera within home assistant, it’s not working (connection timeout)
Use this to see if your model is listed with the available options. I cannot say why it works in VLC and not otherwise, but additional stream parameters may be needed.
They’re from EZVIZ, as mentioned. I’ve also tried the basic auth, and all 4 protocol but they all go timeout event with the public ip
As with public ip && digest auth && not select any protocol, I can get a corupted image so I think they’re maybe correct.
I have seen another post that the ffmpeg library on home assistant is different/missing something, but I miss that post’s link. So I tried a same code that grab a frame from rtsp stream using cv2.VideoCaptured(). It worked on my other ubuntu server but not on homeassistant