Aarni Koskela
706add4a57
Switch formatting from black to ruff-format ( #102893 )
...
Co-authored-by: Franck Nijhof <git@frenck.dev>
2023-11-27 14:38:59 +01:00
J. Nick Koston
7fe2bfa990
Revert "Update numpy to 1.26.1" ( #102036 )
2023-10-15 05:42:25 -10:00
Marc Mueller
1f1a27d6a5
Update numpy to 1.26.1 ( #102021 )
2023-10-14 16:30:43 -10:00
uvjustin
d40a08958d
Use dataclasses instead of attrs in stream ( #101148 )
2023-09-30 09:46:30 +02:00
Jan Bouwhuis
26ba10f4e4
Use dataclass for stream segment Part ( #101128 )
...
* Use data class for stream segement Part
* use slots
2023-09-29 21:07:30 +02:00
Raman Gupta
067b94899f
Move EVENT_LOGGING_CHANGED to constants ( #100974 )
...
* Move EVENT_LOGGING_CHANGED to constants
* fix test
* remove logger as dependency for bluetooth and fix test
2023-09-27 01:06:14 -04:00
Marc Mueller
48f9a38c74
Update numpy to 1.26.0 ( #100512 )
2023-09-17 09:49:21 -05:00
uvjustin
5021c69886
Update Stream logging on EVENT_LOGGING_CHANGED ( #99256 )
2023-09-12 19:38:11 +02:00
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
Ville Skyttä
9da192c752
Avoid use of datetime.utc*
methods deprecated in Python 3.12 ( #93684 )
...
Co-authored-by: Marc Mueller <30130371+cdce8p@users.noreply.github.com>
2023-08-24 16:38:22 +02:00
Marc Mueller
a9ade1f84d
Use asyncio.timeout [core] ( #98447 )
2023-08-15 08:36:05 -05:00
Marc Mueller
ff0566b11f
Fix deque import ( #98269 )
2023-08-11 23:07:06 +02:00
Marc Mueller
68cb7a7dde
Update ha-av to 10.1.1 ( #97481 )
2023-07-30 18:40:38 +02:00
Marc Mueller
77f38e33e5
Import names from typing instead of typing_extensions [3.11] ( #97065 )
2023-07-22 17:03:44 -05:00
uvjustin
3e58e1987c
Avoid infinite loop on corrupt stream recording ( #96881 )
...
* Avoid infinite loop on corrupt stream recording
* Update tests
2023-07-19 09:06:04 +02:00
Franck Nijhof
372687fe81
Update PyTurboJPEG to 1.7.1 ( #96104 )
2023-07-07 08:02:47 -10:00
uvjustin
67515f8ac3
Bump ha-av to v10.1.0 ( #93420 )
2023-05-24 08:28:04 +02:00
Erik Montnemery
23fa500406
Sort manifests 9 ( #87030 )
2023-02-08 20:22:30 +01:00
Marc Mueller
ea4e2ab4aa
Add Self typing (4) [mypy 1.0] ( #87601 )
2023-02-06 22:30:22 -06:00
Franck Nijhof
3d557b5583
Collection of code styling tweaks ( #87381 )
2023-02-04 12:52:26 -05:00
Franck Nijhof
fcb612cd6f
Collection of code styling tweaks ( #87344 )
2023-02-03 23:51:27 +01:00
Franck Nijhof
ca1a12898c
Enable Ruff D212 ( #87347 )
2023-02-03 23:08:48 +01:00
uvjustin
c15f4ad648
Update stream timestamp discontinuity check with audio ( #86446 )
2023-01-23 16:27:09 +01:00
Marc Mueller
077ca97ef8
Fix local_partial_types
errors ( #86410 )
...
Fix local_partial_types errors
2023-01-23 10:29:11 +01:00
uvjustin
d0153f5031
Detect timestamp discontinuity in stream ( #86430 )
...
fixes undefined
2023-01-23 10:09:46 +01:00
uvjustin
8e117ee499
Pass frag_duration as integer ( #86375 )
...
fixes undefined
2023-01-22 17:28:17 +01:00
Franck Nijhof
79b52a2b41
Stricter pylint message control ( #86154 )
2023-01-20 13:47:55 +01:00
Franck Nijhof
f39f3b612a
String formatting and max line length - Part 5 ( #84501 )
...
Co-authored-by: jjlawren <jjlawren@users.noreply.github.com>
2022-12-23 16:43:17 +01:00
Marc Mueller
63d519c1a8
Spelling updates ( #82867 )
2022-11-28 16:51:43 +01:00
uvjustin
6bab63fb0a
Redact more credentials in stream URL query params ( #82089 )
...
Co-authored-by: Allen Porter <allen.porter@gmail.com>
2022-11-15 12:42:40 +08:00
uvjustin
ee910bd0e4
Refactor camera stream settings ( #81663 )
2022-11-13 01:22:59 +08:00
uvjustin
84725f15a6
Use IntEnum for stream orientation ( #81835 )
...
* Use IntEnum for stream orientation
* Rename enum values
* Add comments
* Fix import
2022-11-09 07:28:28 -08:00
Aarni Koskela
738419309d
Add numpy requirement to stream ( #81841 )
...
Closes https://github.com/home-assistant/core/pull/81790
2022-11-09 12:22:14 +01:00
Erik Montnemery
3aa64aaaf1
Mark some integrations as system integrations ( #80948 )
2022-10-25 15:30:46 +02:00
uvjustin
3b78df07de
Use empty_moov in stream recorder ( #80726 )
2022-10-21 22:34:03 +08:00
uvjustin
eb141a532c
Bump ha-av to v10.0.0 ( #80514 )
2022-10-20 00:06:49 +03:00
uvjustin
d38d21ab3a
Fix stream recorder with orientation transforms ( #80370 )
...
Find moov instead of using fixed location
2022-10-17 21:12:45 -04:00
uvjustin
2d7b364713
Bump ha-av to v10.0.0.b5 ( #78977 )
2022-09-26 10:52:03 +02:00
uvjustin
852b0caf5b
Add orientation transforms to stream ( #77439 )
2022-09-06 13:31:36 +08:00
uvjustin
bb77af71ff
Use fragmented mp4 in stream recorder ( #77822 )
2022-09-06 13:30:55 +08:00
uvjustin
5e6217f20c
Use executor to finish stream recording ( #75776 )
2022-07-27 14:13:38 +08:00
uvjustin
b71e3397fd
Add error message for duplicate stream recordings ( #75654 )
2022-07-23 08:40:45 -07:00
uvjustin
a612d7a0f3
Round up for stream record lookback ( #75580 )
2022-07-22 11:46:00 +08:00
uvjustin
2f92c47fe3
Apply filter to libav.hls logging namespace ( #75330 )
2022-07-16 14:07:47 -07:00
uvjustin
75892385bb
Fix playback of hls cameras in stream ( #75166 )
2022-07-14 12:24:24 -07:00
Franck Nijhof
d244d06711
Update PyTurboJPEG to 1.6.7 ( #74965 )
2022-07-11 13:21:37 +02:00
uvjustin
f45afe7379
Use bitstream filter to allow ADTS AAC audio in stream ( #74151 )
2022-06-29 10:15:22 +02:00
uvjustin
fef21c02ee
Clean up disabling audio in stream ( #74038 )
2022-06-28 01:56:10 +02:00
uvjustin
03246d2649
Use ha-av instead of av and bump to v10.0.0b3 ( #73789 )
...
* Use ha-av instead of av and bump to v10.0.0b1
* Change generic
* Use v10.0.0b2
* Use v10.0.0b3
2022-06-22 13:38:44 +02:00
uvjustin
7a3f632c1d
Make stream recorder work concurrently ( #73478 )
2022-06-18 05:13:07 +10:00