rroller / dahua

Dahua Camera and Doorbell Home Assistant Integration
MIT License
387 stars 73 forks source link

RTSP over websocket #366

Open stalniy opened 3 months ago

stalniy commented 3 months ago

Is your feature request related to a problem? Please describe.

dahua implemented rtsp over websocket what makes it possible to see live video without delays

Describe the solution you'd like

I was able to integrate extracted solution https://github.com/TeamDotworld/dahua-rtsp-web into home assistant for my cameras with custom hass card on UI.

Now I need to add a WS proxy on HA side, so the connection is done from server not from browser to hide username/password

I can share/contribute this code into repository.

Having this base, I think it’s possible to integrate other interesting things, like draw IVS lines on camera.