Robert Resch
154282ff5c
Deprecate camera frontend_stream_type ( #130932 )
2024-11-22 13:42:33 +01:00
Robert Resch
999f3e0d77
Use RTCIceCandidateInit instead of RTCIceCandidate ( #130901 )
2024-11-18 21:41:50 -05:00
Erik Montnemery
fe0a822721
Call async_refresh_providers when camera entity feature changes ( #129941 )
2024-11-06 17:37:23 +01:00
Robert Resch
4729b19dc6
Skip adding providers if the camera has native WebRTC ( #129808 )
...
* Skip adding providers if the camera has native WebRTC
* Update homeassistant/components/camera/__init__.py
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
* Implement suggestion
* Add tests
* Shorten test name
* Fix test
---------
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2024-11-05 14:44:37 +01:00
Robert Resch
df796d432e
Remove all ice_servers on native sync WebRTC cameras ( #129819 )
2024-11-04 18:41:37 +01:00
Robert Resch
675ee8e813
Add async webrtc offer support ( #127981 )
...
* Add async webrtc offer support
* Create dataclass for messages
* Send session ID over websocket
* Fixes
* Rename
* Implement some review findings
* Add WebRTCError and small renames
* Use dedicated function instead of inspec
* Update go2rtc-client to 0.0.1b1
* Improve checking for sync offer
* Revert change as not needed anymore
* Typo
* Fix tests
* Add missing go2rtc tests
* Move webrtc offer tests to test_webrtc file
* Add ws camera/webrtc/candidate tests
* Add missing tests
* Implement suggestions
* Implement review changes
* rename
* Revert test to use ws endpoints
* Change doc string
* Don't import from submodule
* Get type form class name
* Update homeassistant/components/camera/__init__.py
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
* Adopt tests
* Apply suggestions from code review
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
* Fix tests
---------
Co-authored-by: Bram Kragten <mail@bramkragten.nl>
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
Co-authored-by: Erik <erik@montnemery.com>
2024-10-28 15:46:15 +01:00
Robert Resch
04860ae1d2
Add go2rtc and extend camera integration for better WebRTC support ( #124410 )
2024-10-03 09:20:03 +02:00
Marc Mueller
2f0dd6f704
Import Generator from collections.abc (2) ( #120915 )
2024-07-01 11:58:49 +02:00
epenet
1ebc1685f7
Improve type hints in camera tests ( #119264 )
2024-06-10 09:30:00 +02:00
Joost Lekkerkerker
6bb4e7d62c
Bump ruff to 0.3.4 ( #112690 )
...
Co-authored-by: Sid <27780930+autinerd@users.noreply.github.com>
Co-authored-by: Marc Mueller <30130371+cdce8p@users.noreply.github.com>
Co-authored-by: J. Nick Koston <nick@koston.org>
2024-03-26 00:02:16 +01:00
On Freund
b9837a561b
Use friendly name for camera media source ( #110882 )
2024-03-12 21:20:14 +01:00
Marc Mueller
38adfbf1a3
Add empty line after module docstring [tests a-e] ( #112708 )
2024-03-08 08:50:25 -05:00
Erik Montnemery
9a3077d64a
Always setup demo platforms with device support from config entry ( #94586 )
...
* Always setup demo platforms with device support from config entry
* Adjust test fixutres
* Update tests depending on the demo integration
2023-06-14 16:50:35 +02:00
Erik Montnemery
0126cfa9d9
Allow exposing any entity to the default conversation agent ( #92398 )
...
* Allow exposing any entity to the default conversation agent
* Tweak
* Fix race, update tests
* Update tests
2023-05-03 09:45:54 -04:00
Franck Nijhof
c93c7e8eff
Replace Camera STREAM_ constants with StreamType enum ( #69871 )
2022-04-11 16:27:27 -07:00
Paulus Schoutsen
716a1e2a64
Add camera media source ( #65977 )
2022-02-08 14:32:02 -08:00