Robert Resch
2eaaadd736
Add go2rtc recommended version ( #130508 )
2024-11-13 11:01:05 +01:00
Robert Resch
3092297979
Bump go2rtc-client to 0.1.1 ( #130498 )
2024-11-13 09:55:52 +01:00
Robert Resch
cb9cc0f801
Go2rtc bump and set ffmpeg logs to debug ( #130371 )
2024-11-12 11:53:14 +01:00
Jan Bouwhuis
9037cb8a7d
Fix typo in go2rtc ( #130165 )
...
Fix typo in original
2024-11-08 20:38:38 +01:00
Jan Bouwhuis
c97cc34879
Use f-strings in go2rtc code and test and do not use abbreviation ( #130158 )
2024-11-08 20:16:46 +01:00
Robert Resch
51e691f832
Add go2rtc workaround for HA managed one until upstream fixes it ( #130139 )
2024-11-08 15:54:14 +01:00
Robert Resch
d4adb1f298
Bump go2rtc-client to 0.1.0 ( #129965 )
2024-11-06 17:59:04 +01:00
Robert Resch
0ca4f3e1ba
Bump go2rtc-client to 0.0.1b5 ( #129952 )
2024-11-06 14:52:21 +01:00
Robert Resch
25449b424f
Bump go2rtc-client to 0.0.1b4 ( #129942 )
2024-11-06 12:05:23 +01:00
Erik Montnemery
e562b6f42b
Map go2rtc log levels to Python log levels ( #129894 )
2024-11-05 15:57:33 +01:00
Erik Montnemery
3a667bce8c
Log go2rtc output with warning level on error ( #129882 )
2024-11-05 14:05:04 +01:00
Robert Resch
eafed2b86c
Append a 1 to all go2rtc ports to avoid port conflicts ( #129881 )
2024-11-05 12:29:51 +01:00
Erik Montnemery
8889464e04
Validate go2rtc server version ( #129810 )
2024-11-05 11:09:10 +01:00
Robert Resch
df35c8e707
Update go2rtc stream if stream_source is not matching ( #129804 )
2024-11-04 13:58:12 +01:00
Erik Montnemery
57eeaf1f75
Add watchdog to monitor and respawn go2rtc server ( #129497 )
2024-11-04 13:42:42 +01:00
Robert Resch
d75dda0c05
Use RTCIceCandidate instead of str for candidate ( #129793 )
2024-11-04 10:38:27 +01:00
Robert Resch
9c8a15cb64
Add go2rtc debug_ui yaml key to enable go2rtc ui ( #129587 )
...
* Add go2rtc debug_ui yaml key to enable go2rtc ui
* Apply suggestions from code review
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
* Order imports
---------
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2024-10-31 20:56:53 +01:00
Martin Hjelmare
405a480cae
Create repair issue for legacy webrtc provider ( #129334 )
...
* Add repair issue
* Add tests
* Add option to not use builtin go2rtc provider
* Add test
* Add domain to new providers
* Add learn more url
* Update placeholder
* Promote the builtin provider
* Refactor provider storage
* Move check for legacy provider conflict to refresh
* Test provider registration race
* Add test for registering the same legacy provider twice
* Test test_get_not_supported_legacy_provider
* Remove blank line between bullets
* Call it built-in
Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
* Revert "Add option to not use builtin go2rtc provider"
This reverts commit 4e31bad6c0c23d5a1c0935c985351808a46163d6.
* Revert "Add test"
This reverts commit ddf85fd4db2c78b15c1cdc716804b965f3a1f4e3.
* Update issue description
* async_close_session is optional
* Clean up after rebase
* Add required domain property to provider tests
---------
Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
2024-10-30 14:11:17 +01:00
Erik Montnemery
db81edfb2b
Add config entry to go2rtc ( #129436 )
...
* Add config entry to go2rtc
* Address review comments
* Remove config entry if go2rtc is not configured
* Allow importing default_config
* Address review comment
2024-10-30 13:39:54 +01:00
Martin Hjelmare
24829bc44f
Fix webrtc provider interface and tests ( #129488 )
...
* Fix webrtc provider tests
* Remove future code
* Add a test of the optional provider interface
2024-10-30 13:24:23 +01:00
Robert Resch
0f020366e3
Bump go2rtc-client to 0.0.1b3 ( #129486 )
2024-10-30 12:13:03 +01:00
Robert Resch
58e151966c
Fix go2rtc no audio issue ( #129428 )
2024-10-29 16:01:51 +01:00
Robert Resch
13416825b1
Go2rtc server start is waiting until we got the api listen stdout line ( #129391 )
2024-10-29 11:28:40 +01:00
Robert Resch
1f03c140f5
Bump go2rtc-client to 0.0.1b2 ( #129395 )
2024-10-29 10:45:00 +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
J. Nick Koston
59227116f3
Ensure go2rtc server starts using posix_spawn/vfork ( #129196 )
2024-10-26 06:51:29 +02:00
Erik Montnemery
4f1e4e7471
Include go2rtc in default_config ( #129144 )
...
* Include go2rtc in default_config
* Fail if binary not found in docker environment
2024-10-25 16:10:14 +02:00
Erik Montnemery
99ed39b26c
Fix go2rtc config schema ( #129141 )
2024-10-25 12:32:43 +02:00
Erik Montnemery
bed77bd356
Remove go2rtc config flow ( #129020 )
...
* Remove go2rtc config flow
* Address review comments
* Update manifest
* Always validate go2rtc server URL
* Remove extra client
* Update homeassistant/components/go2rtc/__init__.py
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
* Improve test coverage
---------
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2024-10-25 11:13:43 +02:00
Robert Resch
a37bd824d5
Add go2rtc binary config to expose api only on localhost ( #129025 )
2024-10-23 11:53:50 +02:00
Robert Resch
dfb94d8917
Rename host to url in go2rtc config flow ( #128508 )
2024-10-16 13:33:47 +02:00
Robert Resch
f5b55d5eb3
Rewrite go2rtc binary handling to be async ( #128078 )
2024-10-14 15:32:00 +02:00
J. Nick Koston
7cd4f78767
Make go2rtc supported streams a frozenset ( #127439 )
...
Avoids the linear search of the tuple
2024-10-03 15:08:17 +02:00
Robert Resch
04860ae1d2
Add go2rtc and extend camera integration for better WebRTC support ( #124410 )
2024-10-03 09:20:03 +02:00