I use three different ONVIF camera’s in Home Assistant. Since release 2022.3 they are not working stable anymore:
- live stream does show 2-3 seconds and then loop
- live stream stand still or do not display at all
I re-installed the integrations and added ffmpeg and stream to config.yaml (although it worked fine before without this)
ffmpeg:
stream:
ll_hls: true
part_duration: 0.75
segment_duration: 6
Now I can see some (but not all) camera’s but only when I open HA on the local network (not from remote)
(My HA is running on a NUC I5 with Docker and Traefik SSL offloading.)
So these are my questions:
- What change causes ONVIF to disfunction
- Does it make sense to add ffmpeg and stream when I use ONVIF
- Does the ONVIF integration embed the videostream in HTTP?
- Why is it so cumbersome to get ONVIF completely working in HA? (it works flawlessly with other ONVIF software such as IPcams, including PTZ)
- Can webRTC solve some issues here?