Camera streams keep going when not in use - timeout?

I’ve been experimenting with Blue Iris and camera streams, and have run across an issue (or maybe a feature) that is not specific to Blue Iris.

I have six cameras defined, one generic, four onvif, one blue iris which is defined as generic. I have them on a lovelace screen as picture-entities with live view. They all work.

But…

Until I first touch the tab with the camera element in lovelace, there is no stream connected. When I do, all streams connect. Good so far. But when I stop viewing them they continue streaming into HA. They run quite a time afterwards, looks like 7-10 minutes or so.

If I reboot a camera (or Blue Iris) the stream stops, until I display it on a lovelace screen again.

This isn’t a huge issue but it seems strange and a bit of extra overhead. Is there a timeout somewhere that’s configurable? HA is sending an RTSP TEARDOWN by the way, it’s not just stopping from the camera side.

Conversely – is this intended behavior or a bug?

Here’s a typical camera (one I just did a sniffer trace on):

  - platform: onvif
    name: camdriveway
    host: 192.168.131.101
    port: 80

Should they continue to stream long after the web page stops accepting data?

By the way, these cameras are not set up for multicast, these are unicast streams that HA is acknowledging.

Linwood

2 Likes

I have the same question.
Have you solved this problem?