deepch / RTSPtoWeb

RTSP Stream to WebBrowser
MIT License
1.27k stars 302 forks source link

Home assistant intégration need to be refresh/reload after HA restart to reduce delay at each reboot #274

Open DzzD opened 1 year ago

DzzD commented 1 year ago

Hi there,

I have noticed that very often it is necessary to reload the homeassistant intégration RTSPToWebRTC (from HA UI).

Note I am unsure this issue is related with RTSPToWeb and not to Home Assistant.

If I dont reload the intégration, there is a delay of more than 5/6 seconds on all my camera and as soon I reload the Integration, (using button reload on HA>Integration>RTSPToWebRTC->right click>reload), the delay disapear (max 1 second)

Config : Home assistant, in Docker RTSPToWeb, in Docker RTSPToWebRTC HA Intégration, configured to use RTSPToWeb + a public STUN server

Work perfectly fine when I refresh intégration after an HA reboot.