Automation to cast camera to chromecast device results in 14 sec delay

Hi, I have a network camera setup through the onvif integration. The current setup gives me a 2 second dealy in e.g. the glance card.

I use this camera amongst other things to notify me when guests arrive to my house, when motion is triggered, automation starts casting the camera feed for 15 secs to my google cast device, if the device is not playing any media. A few releases back this was working pretty nice, but since a few release I get almost an 15 sec delay on the feed, meaning that the motion has happened, but the feed I see is 15 sec old, so no motion in it…

I could not find anything in the release logs regarding this and I’m woundering if anyone has seen this behaviour and managed to solve it?

I’m having te same with rtsp even in the card I don’t have a delay. Maybe it’s a Chromcast thing?

I recently switched to the webrtc integration and I’m trying to do the same thing using the dashcast alternative, so far I think it is working better but I have just had it up for a few days.

The thing is the chromecast thing was working perfectly untill approximatley 1 year ago when I started to get the delays. Untill then it was maybe 1-2 sec, which is understandable and acceptable. Now it is triggered on one thing but shows the stream from something else…