Strange behaviour of ONVIF cameras

Hello,

I have integrated a total of 3 x IP cameras via onvif in Home Assistant, all of the same type and manufacturer.

I then display them via picture-entity:

type: grid
square: false
columns: 1
cards:
  - show_state: true
    show_name: true
    camera_view: auto
    type: picture-entity
    entity: camera.kamera_1_thirdstream
  - type: picture-entity
    entity: camera.kamera_2_mainstream
  - type: picture-entity
    entity: camera.kamera_3_mainstream

But, I don’t always get a live image.
With camera 1, I only ever see a still image and don’t have the option of enlarging the image.
With camera 2, the live image opens after a click and I can also enlarge it.
And with camera 3, a still image always appears first, and sometimes, after a few seconds, the live image and the option to zoom in also appear.

What could be the reason for the different behaviour?

No Ideas? Nobody?

Make sure that you are connecting to live streams. Especially camera 1 looks like you have chosen stream for.

camera 2 and 3 are exactly the same und i use the same streams.

Camera 3 is not serving a still image, but rather the first image of the stream and then it is buffering to start the viewing of the stream.

In my experience the ONVIF integration is a bit unstable. My camera card feed is set Auto and it works as expected refreshing the image every few seconds and giving me live image and audio if I click it. However, it often stops refreshing other sensors that depend on ONVIF subscriptions or even gets banned by the camera due to too many authentication attempts. I end up either rebooting the camera or reloading the integration.

These problems started after an update last year where, according to the release notes, the ONVIF integration had ‘received some love’.