core/homeassistant/components/stream
Allen Porter 647febd7d8
Mark camera unavailable when keepalive stream fails (#62294)
* Mark camera unavailable when keepalive stream fails

Add a listener in stream that notifies camera when the stream state has changed, and
use that to inform the camera `available` property. Update the property to be set
only from the main loop where it is read to reduce thread safety races.

Issue #54659

* Fix pylint import related errors

* Address lint naming errors

* Apply suggestions from code review

Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>

Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
2021-12-19 09:09:59 -08:00
..
__init__.py Mark camera unavailable when keepalive stream fails (#62294) 2021-12-19 09:09:59 -08:00
const.py
core.py
fmp4utils.py
hls.py
manifest.json
recorder.py
worker.py Split StreamState class out of SegmentBuffer (#60423) 2021-11-29 22:25:28 -08:00