Commit Graph

8 Commits (a4f678e7c9364d1962f3911530d67ee82483f1fe)

Author SHA1 Message Date
Marc Mueller 8f69d31322
Make TypeVars private (3) (#68207) 2022-03-17 19:11:14 +01:00
Allen Porter 0c9be604c2
Add diagnostics for rtsp_to_webrtc (#65138) 2022-01-28 09:07:41 -08:00
Allen Porter 86dbe068e7
Abort rtsp_to_webrtc config flow on error during add-on discovery (#64500) 2022-01-20 10:14:13 +01:00
Allen Porter 09920f5303
Fix rtsp-to-webrtc bug in calling client library (#64502) 2022-01-20 09:44:04 +01:00
Marc Mueller d057850971
Update typing - collections.abc (3) (#63947) 2022-01-12 08:04:17 +01:00
Allen Porter d7b080b285
Add support for Add-on discovery in rtsp_to_webrtc (#63211)
Co-authored-by: Franck Nijhof <git@frenck.dev>
2022-01-04 17:58:08 +01:00
Allen Porter 9c166dfff2
Bump rtsp_to_webrtc to 0.4.0 (#63359) 2022-01-04 11:31:33 +01:00
Allen Porter c7b991f56b
Add `rtsptowebrtc` integration (#59660)
* Add initial version of the webrtc integration

Add the webrtc integration. This integration proxies the
signal 'offer' from the client to a RTSPtoWebRTCP server that
returns an 'answer'.

The RTSPtoWebRTC server is a go binary based on pion, and this is
what is currently used by the WebRTC custom_component:
https://github.com/AlexxIT/WebRTC
https://github.com/deepch/RTSPtoWebRTC

* Readability improvements for webrtc

* Reach 100% test coverage

* Use rtsp-to-webrtc client library package

* Rename webrtc to rtstptowebrtc

This is to reflect naming as one type of approach to webrtc since other webrtc integrations would look very different.

* Remove internal quality scale

* Bump rtsptowebrtc to support heartbeats

* Shorten server url variable and remove const.py

* Add config flow validation for RTSPtoWebRTC server

* Add RTSPtoWebRTC server health checks

* Accept translation suggestion

* Apply suggestions from code review

Co-authored-by: J. Nick Koston <nick@koston.org>

* Update rtsptowebrtc to use new camera registry API

Update rtsptowebrtc to use new API added in #62962

* Remove unused variable

* Fix lint and typing errors for python 3.8

* Rename to rtsp_to_webrtc to follow standards

* Use async_on_unload for unsubscribing camera webrtc provider

* Remove unnecessary translations in config flow

* Remove unnecessary configuration setup

* Cleanup test setup and typing

* Patch integration setup to avoid starting the whole integration

Co-authored-by: J. Nick Koston <nick@koston.org>
2022-01-01 12:36:31 -08:00