hass-core/tests/components/stream
uvjustin 407aa31adc
Generate Stream snapshots using next keyframe (#96991)
* Add wait_for_next_keyframe option to stream images
Add STREAM_SNAPSHOT to CameraEntityFeature
Use wait_for_next_keyframe option for snapshots using stream

* Update stream test comments

* Add generic camera snapshot test

* Get stream still images directly in camera
Remove getting stream images from generic, nest, and ONVIF
Refactor camera preferences
Add use_stream_for_stills setting to camera
Update tests

* Only attempt to get stream image if integration supports stream

* Use property instead of entity registry setting

* Split out getting stream prerequisites from stream_source in nest

* Use cached_property for rtsp live stream trait

* Make rtsp live stream trait NestCamera attribute

* Update homeassistant/components/nest/camera.py

Co-authored-by: Allen Porter <allen.porter@gmail.com>

* Change usage of async_timeout

* Change import formatting in generic/test_camera

* Simplify Nest camera property initialization

---------

Co-authored-by: Allen Porter <allen.porter@gmail.com>
2023-08-26 10:39:40 -07:00
..
__init__.py
common.py Avoid use of datetime.utc* methods deprecated in Python 3.12 (#93684) 2023-08-24 16:38:22 +02:00
conftest.py Enable Ruff PT001 (#86730) 2023-01-26 18:05:05 +01:00
test_hls.py Add type hints to integration tests (part 21) (#88233) 2023-02-16 11:15:26 +01:00
test_init.py Add type hints to integration tests (q-s) (#87706) 2023-02-08 08:12:54 -08:00
test_ll_hls.py Fix stream test aiohttp DeprecationWarning (#98962) 2023-08-24 19:50:25 +02:00
test_recorder.py Use tmp_path in tests (#91203) 2023-04-12 08:19:01 +02:00
test_worker.py Generate Stream snapshots using next keyframe (#96991) 2023-08-26 10:39:40 -07:00