RTSP camera stream playback stops

Is anyone else having problems with the RTSP camera stream playback?
I have a Hikvision camera, added with the ONVIF integration.
Playback works for a few seconds, then the spinning loading icon and the timeline appear, but the playback doesn’t continue, even though the total time continues to increase.

I’ve tried with both the camera mainstream and substream.
The substream plays a few seconds longer, but then it stops as well.

This is with h.264 in Chrome, running HA docker on an RPi4.
I don’t believe it’s the RPi4 stalling, as cpu barely raises when watching the stream.

The rtsp stream plays without issues in vlc player.

It works perfectly with the rtsp stream of my Amcrest doorbell, but not the Hikvision rtsp stream.
Again, in HA frontend, vlc has no issues.

I found this bug report, which sounds like exactly what I’m experiencing:

Only, I don’t have any error messages in the log, even after setting homeassistant.components.stream.worker log level to debug.

I checked Chrome network performance.
The issues start when it can’t load init.mp4 anymore:

Same issue exists with rtsp stream playback stopping in v 2022.11. To keep a rtsp session alive a periodic request needs to be sent before the timeout parameter in setup.

See: