mirror of
https://github.com/home-assistant/core.git
synced 2025-07-07 21:37:07 +00:00
Fix stream keepalive on startup (#46640)
This was accidentally dropped in a previous PR that refactored the interaction between stream and camera. This is difficult to test from the existing preload stream tests, so leaving untested for now.
This commit is contained in:
parent
318cbf2913
commit
4236f6e5d4
@ -258,6 +258,7 @@ async def async_setup(hass, config):
|
||||
stream = await camera.create_stream()
|
||||
if not stream:
|
||||
continue
|
||||
stream.keepalive = True
|
||||
stream.hls_output()
|
||||
stream.start()
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user